summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/utils.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-02 23:49:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-04 23:47:49 +0000
commit4628fe12e7f2767d243949197c8326e3b7396301 (patch)
treef65671f46417a7fc5710edec657e22917c2b5f30 /bitbake/lib/bb/utils.py
parentb98866d003eb1287909ea74d594cdd12f28466f2 (diff)
downloadpoky-4628fe12e7f2767d243949197c8326e3b7396301.tar.gz
bitbake: lib/bb: Add expansion parameter to getVarFlag
This sets the scene for removing the default False for expansion from getVarFlag. This would later allow True to become the expand default. On the most part this is an automatic translation with: sed -e 's:\(\.getVarFlag([^,()]*, [^,()]*\)):\1, False):g' -i `grep -ril getVar *` There should be no functional change from this patch. (Bitbake rev: 7c3b99c6a716095af3ffce0b15110e91fb49c913) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r--bitbake/lib/bb/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index ae10213ed7..9730b514e4 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -631,7 +631,7 @@ def build_environment(d):
631 """ 631 """
632 import bb.data 632 import bb.data
633 for var in bb.data.keys(d): 633 for var in bb.data.keys(d):
634 export = d.getVarFlag(var, "export") 634 export = d.getVarFlag(var, "export", False)
635 if export: 635 if export:
636 os.environ[var] = d.getVar(var, True) or "" 636 os.environ[var] = d.getVar(var, True) or ""
637 637