Page Contents
Running tasks using bitbake:
Run task on specific multiconfig:
bitbake mc:<config>:<recipe> -c cleanall
bitbake mc:<config>:<recipe> -c configure
`bitbake mc:
Run task on multiconfig and default config (only one target can be used with the –environment option):
bitbake mc:<config>:<recipe> <recipe> -c cleanall
bitbake mc:<config>:<recipe> <recipe> -c configure
Testing the current multiconfig within a recipe:
Variable assignment:
SRC_URI += “${bb.utils.contains(‘BB_CURRENT_MC’, ‘default’, ‘<value>’, ‘’, d)}”
Bash task conditions:
If [ “${BB_CURRENT_MC}” = “default” ]; then
# execute default config code
fi