summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-20 16:08:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-20 16:46:12 +0100
commit90436919f802908152e40e2d3ea6fd6b54da910c (patch)
tree4f31f7f162e57cbc5d93643ff20174f37da94c47 /bitbake/lib/bb/cooker.py
parent1bf1e2c208ad137b9b91ca0687d6fb9486045dfd (diff)
downloadpoky-90436919f802908152e40e2d3ea6fd6b54da910c.tar.gz
bitbake: cooker: Fix incorrect dot file generation
In the runqueue cleanup/conversion, "dep" was mistakenly used where "tid" should be leading to incorrect task-depends.dot files and causing general confusion. Fix this, its clearly incorrect looking at the code. (Bitbake rev: 689730dbb068c5ea3593e7b92fe5d5e5c0c3760a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 9bd3460625..a73a55de96 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -744,7 +744,7 @@ class BBCooker:
744 for dep in rq.rqdata.runtaskentries[tid].depends: 744 for dep in rq.rqdata.runtaskentries[tid].depends:
745 depfn = bb.runqueue.fn_from_tid(dep) 745 depfn = bb.runqueue.fn_from_tid(dep)
746 deppn = self.recipecache.pkg_fn[depfn] 746 deppn = self.recipecache.pkg_fn[depfn]
747 dotname = "%s.%s" % (pn, bb.runqueue.taskname_from_tid(dep)) 747 dotname = "%s.%s" % (pn, bb.runqueue.taskname_from_tid(tid))
748 if not dotname in depend_tree["tdepends"]: 748 if not dotname in depend_tree["tdepends"]:
749 depend_tree["tdepends"][dotname] = [] 749 depend_tree["tdepends"][dotname] = []
750 depend_tree["tdepends"][dotname].append("%s.%s" % (deppn, bb.runqueue.taskname_from_tid(dep))) 750 depend_tree["tdepends"][dotname].append("%s.%s" % (deppn, bb.runqueue.taskname_from_tid(dep)))