diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2007-08-16 16:35:37 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2007-08-16 16:35:37 +0000 |
commit | 790e2cd8138e8fb821eae72c1182c3fe4bd3b273 (patch) | |
tree | d725cb5a36f3ad3ade69da53b746a71e8f88f925 | |
parent | f4090dbbe933b941a5ea1c1bacdbb9b83fa39256 (diff) | |
download | bitbake-790e2cd8138e8fb821eae72c1182c3fe4bd3b273.tar.gz |
build.py: Expand data to addtask
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | lib/bb/build.py | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -25,6 +25,7 @@ Changes in Bitbake 1.8.x: - Fix int(0)/None confusion in runqueue.py which causes random gaps in dependency chains - Fix handling of variables with expansion in the name using _append/_prepend e.g. RRECOMMENDS_${PN}_append_xyz = "abc" + - Expand data in addtasks Changes in Bitbake 1.8.6: diff --git a/lib/bb/build.py b/lib/bb/build.py index bcbc55eea..b50cd3ed3 100644 --- a/lib/bb/build.py +++ b/lib/bb/build.py @@ -401,9 +401,13 @@ def add_task(task, deps, d): task_graph = data.getVar('_task_graph', d) if not task_graph: task_graph = bb.digraph() + + task = data.expand(task, d) + data.setVarFlag(task, 'task', 1, d) task_graph.addnode(task, None) for dep in deps: + dep = data.expand(dep, d) if not task_graph.hasnode(dep): task_graph.addnode(dep, None) task_graph.addnode(task, dep) |