diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 934072c44f..42831e2771 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -748,8 +748,7 @@ class BBCooker: | |||
748 | depend_tree['providermap'][name] = (pn, version) | 748 | depend_tree['providermap'][name] = (pn, version) |
749 | 749 | ||
750 | for tid in rq.rqdata.runtaskentries: | 750 | for tid in rq.rqdata.runtaskentries: |
751 | (mc, fn, taskname) = bb.runqueue.split_tid(tid) | 751 | (mc, fn, taskname, taskfn) = bb.runqueue.split_tid_mcfn(tid) |
752 | taskfn = bb.runqueue.taskfn_fromtid(tid) | ||
753 | pn = self.recipecaches[mc].pkg_fn[taskfn] | 752 | pn = self.recipecaches[mc].pkg_fn[taskfn] |
754 | pn = self.add_mc_prefix(mc, pn) | 753 | pn = self.add_mc_prefix(mc, pn) |
755 | version = "%s:%s-%s" % self.recipecaches[mc].pkg_pepvpr[taskfn] | 754 | version = "%s:%s-%s" % self.recipecaches[mc].pkg_pepvpr[taskfn] |
@@ -772,8 +771,7 @@ class BBCooker: | |||
772 | 771 | ||
773 | 772 | ||
774 | for dep in rq.rqdata.runtaskentries[tid].depends: | 773 | for dep in rq.rqdata.runtaskentries[tid].depends: |
775 | (depmc, depfn, deptaskname) = bb.runqueue.split_tid(dep) | 774 | (depmc, depfn, deptaskname, deptaskfn) = bb.runqueue.split_tid_mcfn(dep) |
776 | deptaskfn = bb.runqueue.taskfn_fromtid(dep) | ||
777 | deppn = self.recipecaches[mc].pkg_fn[deptaskfn] | 775 | deppn = self.recipecaches[mc].pkg_fn[deptaskfn] |
778 | dotname = "%s.%s" % (pn, bb.runqueue.taskname_from_tid(tid)) | 776 | dotname = "%s.%s" % (pn, bb.runqueue.taskname_from_tid(tid)) |
779 | if not dotname in depend_tree["tdepends"]: | 777 | if not dotname in depend_tree["tdepends"]: |
@@ -843,8 +841,7 @@ class BBCooker: | |||
843 | tids.append(tid) | 841 | tids.append(tid) |
844 | 842 | ||
845 | for tid in tids: | 843 | for tid in tids: |
846 | (mc, fn, taskname) = bb.runqueue.split_tid(tid) | 844 | (mc, fn, taskname, taskfn) = bb.runqueue.split_tid_mcfn(tid) |
847 | taskfn = bb.runqueue.taskfn_fromtid(tid) | ||
848 | 845 | ||
849 | pn = self.recipecaches[mc].pkg_fn[taskfn] | 846 | pn = self.recipecaches[mc].pkg_fn[taskfn] |
850 | pn = self.add_mc_prefix(mc, pn) | 847 | pn = self.add_mc_prefix(mc, pn) |