07-24-2017 05:52 AM
Is it possible invoke bitbake commands directly from the Petalinux environment,
for example I know it is possible to execute some tasks by using -x as in petalinux-build -x task_name
but what about options like:
bitbake -e which would list all of the Metadata, of the _D option for debug level?
07-24-2017 11:39 PM
There is a way to set up a shell for bitbake inside the petalinux environment.
I'm sure it's in an AR, UG or wiki page somewhere, but here's mine:
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE PETALINUX"
Then bitbake commands can be run directly.
Note that you have to do this in another new shell, one that is NOT set up for petalinux commands.
07-26-2017 07:50 PM
It seems there's something in the environment from the petalinux settings.sh that breaks those other setup scripts.
Which is quite strange as the petalinux tools run bitbake. If you were determined you could probably figure out which environment variables were causing it and just unset them between using petalinux and bitbake directly.
03-16-2020 05:26 AM