summaryrefslogtreecommitdiffstats
path: root/lib/bb/data_smart.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-09-30 21:08:24 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-09-30 21:08:24 +0000
commite1737a7506856f0660bf0fcf05517e1337dba1df (patch)
tree13326096e097fa31f6c0e5930d0f61c24e22719f /lib/bb/data_smart.py
parent35562ac01ad18d3dc5374827e8fb5548a0a3537e (diff)
downloadbitbake-contrib-e1737a7506856f0660bf0fcf05517e1337dba1df.tar.gz
bin/bitbake: Add better environmental variable handling. By default it will now only pass certain whitelisted variables into the data store. If BB_PRESERVE_ENV is set bitbake will use all variable from the environment. If BB_ENV_WHITELIST is set, that whitelist will be used instead of the internal bitbake one. Alternatively, BB_ENV_EXTRAWHITE can be used to extend the internal whitelist.
Diffstat (limited to 'lib/bb/data_smart.py')
-rw-r--r--lib/bb/data_smart.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py
index b3a51b0ed..0d39d20a4 100644
--- a/lib/bb/data_smart.py
+++ b/lib/bb/data_smart.py
@@ -149,9 +149,6 @@ class DataSmart:
if not var in self.dict:
self._makeShadowCopy(var)
- if self.getVarFlag(var, 'matchesenv'):
- self.delVarFlag(var, 'matchesenv')
- self.setVarFlag(var, 'export', 1)
# more cookies for the cookie monster
if '_' in var: