From e1737a7506856f0660bf0fcf05517e1337dba1df Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 30 Sep 2008 21:08:24 +0000 Subject: 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. --- lib/bb/data_smart.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/bb/data_smart.py') 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: -- cgit 1.2.3-korg