summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r--bitbake/lib/bb/data.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index 2c3e905a77..7047f48934 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -166,9 +166,9 @@ def inheritFromOS(d, savedenv, permitted):
166 for s in savedenv.keys(): 166 for s in savedenv.keys():
167 if s in permitted: 167 if s in permitted:
168 try: 168 try:
169 d.setVar(s, getVar(s, savedenv, True)) 169 d.setVar(s, getVar(s, savedenv, True), op = 'from env')
170 if s in exportlist: 170 if s in exportlist:
171 d.setVarFlag(s, "export", True) 171 d.setVarFlag(s, "export", True, op = 'auto env export')
172 except TypeError: 172 except TypeError:
173 pass 173 pass
174 174
@@ -194,8 +194,7 @@ def emit_var(var, o=sys.__stdout__, d = init(), all=False):
194 return 0 194 return 0
195 195
196 if all: 196 if all:
197 commentVal = re.sub('\n', '\n#', str(oval)) 197 d.varhistory.emit(var, oval, val, o)
198 o.write('# %s=%s\n' % (var, commentVal))
199 198
200 if (var.find("-") != -1 or var.find(".") != -1 or var.find('{') != -1 or var.find('}') != -1 or var.find('+') != -1) and not all: 199 if (var.find("-") != -1 or var.find(".") != -1 or var.find('{') != -1 or var.find('}') != -1 or var.find('+') != -1) and not all:
201 return 0 200 return 0
@@ -274,7 +273,7 @@ def emit_func(func, o=sys.__stdout__, d = init()):
274 273
275def update_data(d): 274def update_data(d):
276 """Performs final steps upon the datastore, including application of overrides""" 275 """Performs final steps upon the datastore, including application of overrides"""
277 d.finalize() 276 d.finalize(parent = True)
278 277
279def build_dependencies(key, keys, shelldeps, vardepvals, d): 278def build_dependencies(key, keys, shelldeps, vardepvals, d):
280 deps = set() 279 deps = set()