summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/data.py
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2016-04-30 12:52:48 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-19 09:05:20 +0100
commit692b87497e99379a6cf6362636aa06093ebd643c (patch)
treeac8526bd64e4d9fb3115371b4bd59b291dcbeab0 /bitbake/lib/bb/data.py
parenta809f1c6afb8d3cf2309078103f5fbdbf071cf09 (diff)
downloadpoky-692b87497e99379a6cf6362636aa06093ebd643c.tar.gz
bitbake: Implement support for per-task exports
(Bitbake rev: 4506ccf1495c6ed6e8ed678f4baa166bc94d1761) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r--bitbake/lib/bb/data.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index e9ce0ad4d0..48d990dd16 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -339,7 +339,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
339 deps |= parser.references 339 deps |= parser.references
340 deps = deps | (keys & parser.execs) 340 deps = deps | (keys & parser.execs)
341 return deps, value 341 return deps, value
342 varflags = d.getVarFlags(key, ["vardeps", "vardepvalue", "vardepsexclude", "vardepvalueexclude", "postfuncs", "prefuncs", "lineno", "filename"]) or {} 342 varflags = d.getVarFlags(key, ["vardeps", "vardepvalue", "vardepsexclude", "vardepvalueexclude", "exports", "postfuncs", "prefuncs", "lineno", "filename"]) or {}
343 vardeps = varflags.get("vardeps") 343 vardeps = varflags.get("vardeps")
344 value = d.getVar(key, False) 344 value = d.getVar(key, False)
345 345
@@ -383,6 +383,8 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
383 deps = deps | set(varflags["prefuncs"].split()) 383 deps = deps | set(varflags["prefuncs"].split())
384 if "postfuncs" in varflags: 384 if "postfuncs" in varflags:
385 deps = deps | set(varflags["postfuncs"].split()) 385 deps = deps | set(varflags["postfuncs"].split())
386 if "exports" in varflags:
387 deps = deps | set(varflags["exports"].split())
386 else: 388 else:
387 parser = d.expandWithRefs(value, key) 389 parser = d.expandWithRefs(value, key)
388 deps |= parser.references 390 deps |= parser.references