summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-07 12:04:44 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-08 10:32:21 +0000
commitc77e7021d7ecec1635913c83e257d62f6b6aed77 (patch)
treeb7c6e245c7a83d2ad401cad4f71a35fceb907d1a
parent24b668efa0d7bb277045b4361ad1676175c5a2cc (diff)
downloadpoky-c77e7021d7ecec1635913c83e257d62f6b6aed77.tar.gz
bitbake: runqueue: Add the taskhash to BB_TASKDEPDATA
Its useful to know the task hash in code using TASKDEPDATA so add this data to the data structure. The recipe specific sysroots in OE need this data. (Bitbake rev: 758867e8dc74283bb1f031e158ec54cefdd5c2a6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/runqueue.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 3d8ae1f48b..f00a3ce226 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1853,7 +1853,8 @@ class RunQueueExecuteTasks(RunQueueExecute):
1853 pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn] 1853 pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn]
1854 deps = self.rqdata.runtaskentries[revdep].depends 1854 deps = self.rqdata.runtaskentries[revdep].depends
1855 provides = self.rqdata.dataCaches[mc].fn_provides[taskfn] 1855 provides = self.rqdata.dataCaches[mc].fn_provides[taskfn]
1856 taskdepdata[revdep] = [pn, taskname, fn, deps, provides] 1856 taskhash = self.rqdata.runtaskentries[revdep].hash
1857 taskdepdata[revdep] = [pn, taskname, fn, deps, provides, taskhash]
1857 for revdep2 in deps: 1858 for revdep2 in deps:
1858 if revdep2 not in taskdepdata: 1859 if revdep2 not in taskdepdata:
1859 additional.append(revdep2) 1860 additional.append(revdep2)