]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
parse: pass a useful (if mangled) key to bb.data.expand for :=
authorChris Larson <chris_larson@mentor.com>
Thu, 2 Jun 2011 21:45:37 +0000 (14:45 -0700)
committerChris Larson <chris_larson@mentor.com>
Thu, 2 Jun 2011 21:45:37 +0000 (14:45 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/parse/ast.py

index 375dc616302312c11ddeea6e307eb27b64884235..b296562450727ec2559c8c655de3473d20d078fd 100644 (file)
@@ -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: