]> code.ossystems Code Review - openembedded-core.git/commit
classes/populate_sdk_ext: support setting vars from environment at build time
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 31 Mar 2016 08:53:31 +0000 (21:53 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 31 Mar 2016 12:18:12 +0000 (13:18 +0100)
commit2bfed75c48a6f6596ded9cb64cb96f00510f914e
tree9dbcb4f0db9a2813dc81372cb28c19eb7ada948a
parent6069175e9bb97ace100bb5e99b6104d33163a3a2
classes/populate_sdk_ext: support setting vars from environment at build time

When running bitbake you may pass in values of variables from the
external environment (making use of BB_ENV_EXTRAWHITE), and you may
choose to do this when building the extensible SDK, for example:

  MACHINE=qemuarm bitbake -c populate_sdk_ext core-image-minimal

You would naturally expect those settings to be reflected in the
extensible SDK itself; however they were not, since we were only
considering local.conf and auto.conf. Check the variables mentioned in
BB_ENV_EXTRAWHITE to see if any are different than the values set in
local.conf/auto.conf and add lines setting them in the SDK's local.conf
if so.

Fixes [YOCTO #9339].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_ext.bbclass