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
@@ -52,6 +52,7 @@ class Shell:
|
||||
sh_prs.add_argument('config',
|
||||
help='Config file')
|
||||
sh_prs.add_argument('--target',
|
||||
action='append',
|
||||
help='Select target to build',
|
||||
default='core-image-minimal')
|
||||
sh_prs.add_argument('--skip',
|
||||
|
||||
Reference in New Issue
Block a user