summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-27 21:01:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-28 12:40:44 +0100
commit19c84fe8854639768c874cc1449963a9867ad397 (patch)
tree991f43b9befa0b722b6ec488a2c03aa2226b093e
parentce0579dc256251e523c6330641f98b9f5a0e5761 (diff)
downloadbitbake-19c84fe8854639768c874cc1449963a9867ad397.tar.gz
runqueue.py: Handle multiple rdeptask entries
I'm not sure why we don't currently allow multiple entries in rdeptask when we do in deptask. This makes the handling match between the two since its trivial to fix. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/runqueue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index e927afbb8..f457ec21e 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -456,8 +456,8 @@ class RunQueueData:
# e.g. do_sometask[rdeptask] = "do_someothertask"
# (makes sure sometask runs after someothertask of all RDEPENDS)
if 'rdeptask' in task_deps and taskData.tasks_name[task] in task_deps['rdeptask']:
- taskname = task_deps['rdeptask'][taskData.tasks_name[task]]
- add_runtime_dependencies(taskData.rdepids[fnid], [taskname], depends)
+ tasknames = task_deps['rdeptask'][taskData.tasks_name[task]].split()
+ add_runtime_dependencies(taskData.rdepids[fnid], tasknames, depends)
# Resolve inter-task dependencies
#