diff options
-rw-r--r-- | bitbake/lib/bb/cooker.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 1a5e0038b6..81027db265 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -678,12 +678,12 @@ class BBCooker: | |||
678 | depend_tree["pn"][pn][ei] = vars(self.recipecaches[mc])[ei][taskfn] | 678 | depend_tree["pn"][pn][ei] = vars(self.recipecaches[mc])[ei][taskfn] |
679 | 679 | ||
680 | 680 | ||
681 | dotname = "%s.%s" % (pn, bb.runqueue.taskname_from_tid(tid)) | ||
682 | if not dotname in depend_tree["tdepends"]: | ||
683 | depend_tree["tdepends"][dotname] = [] | ||
681 | for dep in rq.rqdata.runtaskentries[tid].depends: | 684 | for dep in rq.rqdata.runtaskentries[tid].depends: |
682 | (depmc, depfn, deptaskname, deptaskfn) = bb.runqueue.split_tid_mcfn(dep) | 685 | (depmc, depfn, deptaskname, deptaskfn) = bb.runqueue.split_tid_mcfn(dep) |
683 | deppn = self.recipecaches[mc].pkg_fn[deptaskfn] | 686 | deppn = self.recipecaches[mc].pkg_fn[deptaskfn] |
684 | dotname = "%s.%s" % (pn, bb.runqueue.taskname_from_tid(tid)) | ||
685 | if not dotname in depend_tree["tdepends"]: | ||
686 | depend_tree["tdepends"][dotname] = [] | ||
687 | depend_tree["tdepends"][dotname].append("%s.%s" % (deppn, bb.runqueue.taskname_from_tid(dep))) | 687 | depend_tree["tdepends"][dotname].append("%s.%s" % (deppn, bb.runqueue.taskname_from_tid(dep))) |
688 | if taskfn not in seen_fns: | 688 | if taskfn not in seen_fns: |
689 | seen_fns.append(taskfn) | 689 | seen_fns.append(taskfn) |