diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-27 21:01:29 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-28 16:32:57 +0100 |
commit | 4129d5dc7cf921b198a623104a20bf89b9f110b1 (patch) | |
tree | fafdee1ed6c4eb3509714bc50d6b80f308b438ca /bitbake | |
parent | 18e3b500b959b0e6e6d44bff28f3f897c6c95ca5 (diff) | |
download | 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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index e927afbb86..f457ec21ef 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -456,8 +456,8 @@ class RunQueueData: | |||
456 | # e.g. do_sometask[rdeptask] = "do_someothertask" | 456 | # e.g. do_sometask[rdeptask] = "do_someothertask" |
457 | # (makes sure sometask runs after someothertask of all RDEPENDS) | 457 | # (makes sure sometask runs after someothertask of all RDEPENDS) |
458 | if 'rdeptask' in task_deps and taskData.tasks_name[task] in task_deps['rdeptask']: | 458 | if 'rdeptask' in task_deps and taskData.tasks_name[task] in task_deps['rdeptask']: |
459 | taskname = task_deps['rdeptask'][taskData.tasks_name[task]] | 459 | tasknames = task_deps['rdeptask'][taskData.tasks_name[task]].split() |
460 | add_runtime_dependencies(taskData.rdepids[fnid], [taskname], depends) | 460 | add_runtime_dependencies(taskData.rdepids[fnid], tasknames, depends) |
461 | 461 | ||
462 | # Resolve inter-task dependencies | 462 | # Resolve inter-task dependencies |
463 | # | 463 | # |