]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake: [parser] Call eval and remove non ast code
authorHolger Freyther <ich@tamarin.(none)>
Tue, 19 May 2009 07:37:41 +0000 (09:37 +0200)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 15 Feb 2010 17:07:42 +0000 (17:07 +0000)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/parse/ast.py

index a995b9d3ed296a974bc2aa12325feb2cd5452fce..f587c6cbd66075185d824f7dbea46af71522b1fb 100644 (file)
@@ -131,8 +131,7 @@ def handleInclude(statements, m, fn, lineno, data, force):
 def handleExport(statements, m, data):
     # AST handling
     statements.append(ExportNode(m.group(1)))
-
-    bb.data.setVarFlag(m.group(1), "export", 1, data)
+    statements[-1].eval(data)
 
 def handleData(statements, groupd, data):
     # AST handling