From: Chris Larson Date: Thu, 2 Jun 2011 21:45:37 +0000 (-0700) Subject: parse: pass a useful (if mangled) key to bb.data.expand for := X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3eed3aac4cfe1db74f0cabfea391ca3578ef70f3;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git parse: pass a useful (if mangled) key to bb.data.expand for := (Bitbake rev: 8e1be0ca414d9d26e013ae212abdd9c39fa8df26) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index 375dc616302..b2965624507 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/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: