config: Implemented multi-target support
With this patch support for building multiple targets in parallel with bitbake is now supported. Changes: - Its now possible to state a list of targets under the target key in the configuration file. Example: target: - product-image - product-update-image - Its now possible to define multiple targets in the kas command line. Example: $ kas build --target product-image --target product-update-image \ kas.yml - Its now possible to define multiple targets via the environment: Example: $ export KAS_TARGET="product-image product-update-image" $ kas build kas.yml Signed-off-by: Claudius Heine <ch@denx.de>
This commit is contained in:
committed by
Daniel Wagner
parent
f7d2e5ae20
commit
ab8e4cd375
@@ -286,9 +286,11 @@ Configuration reference
|
||||
``local.conf``. Can be overwritten by the ``KAS_DISTRO`` environment
|
||||
variable and defaults to ``poky``.
|
||||
|
||||
* ``target``: string [optional]
|
||||
Contains the target to build by bitbake. Can be overwritten by the
|
||||
``KAS_TARGET`` environment variable and defaults to ``core-image-minimal``.
|
||||
* ``target``: string [optional] or list [optional]
|
||||
Contains the target or a list of targets to build by bitbake. Can be
|
||||
overwritten by the ``KAS_TARGET`` environment variable and defaults to
|
||||
``core-image-minimal``. Space is used as a delimiter if multiple targets
|
||||
should be specified via the environment variable.
|
||||
|
||||
* ``task``: string [optional]
|
||||
Contains the task to build by bitbake. Can be overwritten by the
|
||||
|
Reference in New Issue
Block a user