summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb
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
parentc01e8760ba5552e91f3af764c1233c2462494213 (diff)
downloadopenembedded-core-4aec2155a5f0ac051e29ad8a749c04fd37c47643.tar.gz
openembedded-core-4aec2155a5f0ac051e29ad8a749c04fd37c47643.tar.bz2
openembedded-core-4aec2155a5f0ac051e29ad8a749c04fd37c47643.tar.xz
openembedded-core-4aec2155a5f0ac051e29ad8a749c04fd37c47643.zip
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')
-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 4cad495b0..fee10ccda 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -288,6 +288,7 @@ def build_dependencies(key, keys, shelldeps, d):
parser = d.expandWithRefs(d.getVar(key, False), key)
deps |= parser.references
deps = deps | (keys & parser.execs)
+ deps |= set((d.getVarFlag(key, "vardeps") or "").split())
except:
bb.note("Error expanding variable %s" % key)
raise