]> code.ossystems Code Review - openembedded-core.git/commit
oe-buildenv-internal: preserve existing BB_ENV_EXTRAWHITE
authorJuro Bystricky <juro.bystricky@intel.com>
Thu, 3 Dec 2015 23:09:56 +0000 (15:09 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Dec 2015 23:31:39 +0000 (23:31 +0000)
commit826ae02c08b2210aa39ed51e1a9e50d40f33afb4
tree30740fb7a3d957eaeb24bf01ea1c170857145c9d
parent18dcf8acc9a918d00c3525e9af5f64d237f74bdb
oe-buildenv-internal: preserve existing BB_ENV_EXTRAWHITE

According to the BitBake User Manual the environment variable BB_ENV_EXTRAWHITE
specifies an additional set of variables to allow through (whitelist) from the
external environment into BitBake's datastore. However, running:

  $ source oe-init-build-env build-name

will overwrite any pre-existing BB_ENV_EXTRAWHITE variables.
This patch modifies this behaviour: all oe-build-internal BB_ENV_EXTRAWHITE
variables are appended to any potentially already existing BB_ENV_EXTRAWHITE
variables. (The variables are only appended if not already in BB_ENV_EXTRAWHITE)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/oe-buildenv-internal