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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index 7c1533cfa9..e5c408c5f2 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -266,7 +266,7 @@ def emit_func(func, o=sys.__stdout__, d = init()):
266 seen |= deps 266 seen |= deps
267 newdeps = set() 267 newdeps = set()
268 for dep in deps: 268 for dep in deps:
269 if bb.data.getVarFlag(dep, "func", d): 269 if d.getVarFlag(dep, "func"):
270 emit_var(dep, o, d, False) and o.write('\n') 270 emit_var(dep, o, d, False) and o.write('\n')
271 newdeps |= bb.codeparser.ShellParser(dep, logger).parse_shell(d.getVar(dep, True)) 271 newdeps |= bb.codeparser.ShellParser(dep, logger).parse_shell(d.getVar(dep, True))
272 newdeps -= seen 272 newdeps -= seen
@@ -319,7 +319,7 @@ def generate_dependencies(d):
319 deps = {} 319 deps = {}
320 values = {} 320 values = {}
321 321
322 tasklist = bb.data.getVar('__BBTASKS', d) or [] 322 tasklist = d.getVar('__BBTASKS') or []
323 for task in tasklist: 323 for task in tasklist:
324 deps[task], values[task] = build_dependencies(task, keys, shelldeps, vardepvals, d) 324 deps[task], values[task] = build_dependencies(task, keys, shelldeps, vardepvals, d)
325 newdeps = deps[task] 325 newdeps = deps[task]