summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/runqueue.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index d1e8cd11ee..6d9f6dc8d4 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -454,7 +454,9 @@ class RunQueueData:
454 depdata = taskData.build_targets[depid][0] 454 depdata = taskData.build_targets[depid][0]
455 if depdata is not None: 455 if depdata is not None:
456 dep = taskData.fn_index[depdata] 456 dep = taskData.fn_index[depdata]
457 taskid = taskData.gettask_id(dep, idependtask) 457 taskid = taskData.gettask_id(dep, idependtask, False)
458 if taskid is None:
459 bb.msg.fatal(bb.msg.domain.RunQueue, "Task %s in %s depends upon nonexistant task %s in %s" % (taskData.tasks_name[task], fn, idependtask, dep))
458 depends.append(taskid) 460 depends.append(taskid)
459 if depdata != fnid: 461 if depdata != fnid:
460 tdepends_fnid[fnid].add(taskid) 462 tdepends_fnid[fnid].add(taskid)