diff options
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index bd643ea767..03766adfea 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -476,7 +476,19 @@ class RunQueueData: | |||
476 | depends.append(taskid) | 476 | depends.append(taskid) |
477 | if depdata != fnid: | 477 | if depdata != fnid: |
478 | tdepends_fnid[fnid].add(taskid) | 478 | tdepends_fnid[fnid].add(taskid) |
479 | 479 | irdepends = taskData.tasks_irdepends[task] | |
480 | for (depid, idependtask) in irdepends: | ||
481 | if depid in taskData.run_targets: | ||
482 | # Won't be in run_targets if ASSUME_PROVIDED | ||
483 | depdata = taskData.run_targets[depid][0] | ||
484 | if depdata is not None: | ||
485 | dep = taskData.fn_index[depdata] | ||
486 | taskid = taskData.gettask_id(dep, idependtask, False) | ||
487 | if taskid is None: | ||
488 | bb.msg.fatal("RunQueue", "Task %s in %s rdepends upon non-existent task %s in %s" % (taskData.tasks_name[task], fn, idependtask, dep)) | ||
489 | depends.append(taskid) | ||
490 | if depdata != fnid: | ||
491 | tdepends_fnid[fnid].add(taskid) | ||
480 | 492 | ||
481 | # Resolve recursive 'recrdeptask' dependencies (A) | 493 | # Resolve recursive 'recrdeptask' dependencies (A) |
482 | # | 494 | # |