summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-06-02 14:45:37 -0700
committerChris Larson <chris_larson@mentor.com>2011-06-02 14:45:37 -0700
commit8e1be0ca414d9d26e013ae212abdd9c39fa8df26 (patch)
tree4c3522229eb3e4b73a187f6cf0a1f077a6ad449f
parent12aef37618bc77fb5ef085d24ad85471fb85c111 (diff)
downloadbitbake-8e1be0ca414d9d26e013ae212abdd9c39fa8df26.tar.gz
parse: pass a useful (if mangled) key to bb.data.expand for :=
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r--lib/bb/parse/ast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/parse/ast.py b/lib/bb/parse/ast.py
index 375dc6163..b29656245 100644
--- a/lib/bb/parse/ast.py
+++ b/lib/bb/parse/ast.py
@@ -100,7 +100,7 @@ class DataNode(AstNode):
elif "colon" in groupd and groupd["colon"] != None:
e = data.createCopy()
bb.data.update_data(e)
- val = bb.data.expand(groupd["value"], e)
+ val = bb.data.expand(groupd["value"], e, key + "[:=]")
elif "append" in groupd and groupd["append"] != None:
val = "%s %s" % ((self.getFunc(key, data) or ""), groupd["value"])
elif "prepend" in groupd and groupd["prepend"] != None: