diff options
-rw-r--r-- | bitbake/lib/bb/taskdata.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py index aed3a1638d..c08186a718 100644 --- a/bitbake/lib/bb/taskdata.py +++ b/bitbake/lib/bb/taskdata.py | |||
@@ -176,6 +176,9 @@ class TaskData: | |||
176 | # Work out task dependencies | 176 | # Work out task dependencies |
177 | parentids = [] | 177 | parentids = [] |
178 | for dep in task_deps['parents'][task]: | 178 | for dep in task_deps['parents'][task]: |
179 | if dep not in task_deps['tasks']: | ||
180 | bb.debug(2, "Not adding dependeny of %s on %s since %s does not exist" % (task, dep, dep)) | ||
181 | continue | ||
179 | parentid = self.gettask_id(fn, dep) | 182 | parentid = self.gettask_id(fn, dep) |
180 | parentids.append(parentid) | 183 | parentids.append(parentid) |
181 | taskid = self.gettask_id(fn, task) | 184 | taskid = self.gettask_id(fn, task) |