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 16:32:57 +0100
commit4129d5dc7cf921b198a623104a20bf89b9f110b1 (patch)
treefafdee1ed6c4eb3509714bc50d6b80f308b438ca
parent18e3b500b959b0e6e6d44bff28f3f897c6c95ca5 (diff)
downloadast2050-yocto-poky-4129d5dc7cf921b198a623104a20bf89b9f110b1.zip
ast2050-yocto-poky-4129d5dc7cf921b198a623104a20bf89b9f110b1.tar.gz
bitbake: 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. (Bitbake rev: 19c84fe8854639768c874cc1449963a9867ad397) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/runqueue.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index e927afb..f457ec2 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/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
#
OpenPOWER on IntegriCloud