summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorMariano Lopez <mariano.lopez@linux.intel.com>2015-08-03 08:45:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-10 13:57:59 -0700
commit0b80ef5f8a4b7261bf991b60d891235a6db7aae1 (patch)
tree509e76ea5da8e4de0f4119dd4cfd18effbb7e793 /bitbake
parent9527cd040d9dbbbcf8da49f8c86158b7f4bfbcb0 (diff)
downloadpoky-0b80ef5f8a4b7261bf991b60d891235a6db7aae1.tar.gz
bitbake: runqueue.py: Add provides to taskdepdata
Currently bitbake is the only one that knows the relation between PN and PROVIDES. In some cases it is needed to have this relation in the data store (the bootloader it's a good case). This adds the PROVIDES to the taskdata, so it would be in the data store as one field of BB_TASKDEPDATA. (Bitbake rev: a660787311d2961c66c0443bf0e2e094c9baef1b) Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-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 17a55d3d6e..0f99e5ab8e 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1630,7 +1630,8 @@ class RunQueueExecuteTasks(RunQueueExecute):
1630 pn = self.rqdata.dataCache.pkg_fn[fn] 1630 pn = self.rqdata.dataCache.pkg_fn[fn]
1631 taskname = self.rqdata.runq_task[revdep] 1631 taskname = self.rqdata.runq_task[revdep]
1632 deps = self.rqdata.runq_depends[revdep] 1632 deps = self.rqdata.runq_depends[revdep]
1633 taskdepdata[revdep] = [pn, taskname, fn, deps] 1633 provides = self.rqdata.dataCache.fn_provides[fn]
1634 taskdepdata[revdep] = [pn, taskname, fn, deps, provides]
1634 for revdep2 in deps: 1635 for revdep2 in deps:
1635 if revdep2 not in taskdepdata: 1636 if revdep2 not in taskdepdata:
1636 additional.append(revdep2) 1637 additional.append(revdep2)