summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-19 13:16:54 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-22 12:10:12 +0100
commit608821349c9a71e3e39d38bbc16669146c28d419 (patch)
tree49d18936b92fb0051b6b6d090b0a6f7c6c9a981d /bitbake/lib
parent176a46b088135f2891983bb8540bc45389341d90 (diff)
downloadpoky-608821349c9a71e3e39d38bbc16669146c28d419.tar.gz
bitbake: data: Ensure dependencies of subfunctions are accounted for
Currently we account of the top level function's vardeps but not those of any subfunction. This would imply we'd have to manually write the dependencies of all parent functions which would be crazy. This patch adds the dependencies to fix the issue. (Bitbake rev: 658008cc6a8acd5c1f26877c9444c96002db01e7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/data.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index abf210aa6b..87c4808b5e 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -274,6 +274,7 @@ def emit_func(func, o=sys.__stdout__, d = init()):
274 if d.getVarFlag(dep, "func"): 274 if d.getVarFlag(dep, "func"):
275 emit_var(dep, o, d, False) and o.write('\n') 275 emit_var(dep, o, d, False) and o.write('\n')
276 newdeps |= bb.codeparser.ShellParser(dep, logger).parse_shell(d.getVar(dep, True)) 276 newdeps |= bb.codeparser.ShellParser(dep, logger).parse_shell(d.getVar(dep, True))
277 newdeps |= set((d.getVarFlag(dep, "vardeps", True) or "").split())
277 newdeps -= seen 278 newdeps -= seen
278 279
279def update_data(d): 280def update_data(d):