summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-08 20:23:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-08 20:36:27 +0100
commite92c694a5344e325a533b7a32e3a3aece4735c23 (patch)
treef395a6b5f66385271dc89b27cd60afd45e626b08 /lib
parent517366b449a20097309875c611f3dc5a97e0d6ea (diff)
downloadbitbake-e92c694a5344e325a533b7a32e3a3aece4735c23.tar.gz
data.py: Ensure vardeps flags get expanded
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/data.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/data.py b/lib/bb/data.py
index 50cba4629..720dd76ef 100644
--- a/lib/bb/data.py
+++ b/lib/bb/data.py
@@ -293,8 +293,8 @@ 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())
- deps -= set((d.getVarFlag(key, "vardepsexclude") or "").split())
+ deps |= set((d.getVarFlag(key, "vardeps", True) or "").split())
+ deps -= set((d.getVarFlag(key, "vardepsexclude", True) or "").split())
except:
bb.note("Error expanding variable %s" % key)
raise