Re: [yocto] cannot bring global environment var into a recipe

2020-08-04 Thread Rob Prowel
On 2020-08-04 13:11, codusnocturnus via lists.yoctoproject.org wrote: I think what you need to do is add the environment variable to BB_ENV_WHITELIST or BB_ENV_EXTRAWHITE: https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#var-BB_ENV_WHITELIST Thanks,

Re: [yocto] cannot bring global environment var into a recipe

2020-08-04 Thread codusnocturnus via lists.yoctoproject.org
I think what you need to do is add the environment variable to BB_ENV_WHITELIST or BB_ENV_EXTRAWHITE: https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#var-BB_ENV_WHITELIST Thanks, Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Tuesday,

[yocto] cannot bring global environment var into a recipe

2020-08-04 Thread Rob Prowel
I don't want to get into a discussion about why it is a good or bad idea, but I need to use a global shell variable as follows: using "sumo"...that's all I can use. $ export PM1_DEVEL_IMAGE=1 or $ PM1_DEVEL_IMAGE=1 bitbake my-image and reference that global var in a kernel bbappend such