diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-09-30 21:08:24 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-09-30 21:08:24 +0000 |
commit | e1737a7506856f0660bf0fcf05517e1337dba1df (patch) | |
tree | 13326096e097fa31f6c0e5930d0f61c24e22719f /lib/bb/data_smart.py | |
parent | 35562ac01ad18d3dc5374827e8fb5548a0a3537e (diff) | |
download | bitbake-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.py | 3 |
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: |