summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/data.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-13 12:16:46 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-13 12:16:46 +0100
commit4aec2155a5f0ac051e29ad8a749c04fd37c47643 (patch)
treef7e96f5a7631f58ac906176feb77c58022268a90 /bitbake/lib/bb/data.py
parentc01e8760ba5552e91f3af764c1233c2462494213 (diff)
downloadpoky-4aec2155a5f0ac051e29ad8a749c04fd37c47643.tar.gz
bitbake/data.py: Allow variables to suplement dependencies using the vardep flag
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/data.py')
-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 4cad495b0a..fee10ccda4 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -288,6 +288,7 @@ def build_dependencies(key, keys, shelldeps, d):
288 parser = d.expandWithRefs(d.getVar(key, False), key) 288 parser = d.expandWithRefs(d.getVar(key, False), key)
289 deps |= parser.references 289 deps |= parser.references
290 deps = deps | (keys & parser.execs) 290 deps = deps | (keys & parser.execs)
291 deps |= set((d.getVarFlag(key, "vardeps") or "").split())
291 except: 292 except:
292 bb.note("Error expanding variable %s" % key) 293 bb.note("Error expanding variable %s" % key)
293 raise 294 raise