summaryrefslogtreecommitdiffstats
path: root/lib/bb/cooker.py
diff options
context:
space:
mode:
authorAndrei Dinu <andrei.adrianx.dinu@intel.com>2013-03-05 17:36:22 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-19 13:51:05 +0000
commite6c2fa2f6669a4adf890a2ee794b100617223b7b (patch)
treedb074d66a23e7e410cb2373dd5194744d4c15ab5 /lib/bb/cooker.py
parentbc09090f44f9b3a1b123f5453586295b9623218b (diff)
downloadbitbake-e6c2fa2f6669a4adf890a2ee794b100617223b7b.tar.gz
cooker: Use extra cache information
-extended cooker.py so that the extra information in cache_extra.py could be used Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r--lib/bb/cooker.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 9d051fa30..4650d7c55 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -471,6 +471,8 @@ class BBCooker:
taskdata.add_unresolved(localdata, self.status)
bb.event.fire(bb.event.TreeDataPreparationCompleted(len(pkgs_to_build)), self.configuration.data)
return runlist, taskdata
+
+ ######## WARNING : this function requires cache_extra to be enabled ########
def generateTaskDepTreeData(self, pkgs_to_build, task):
"""
@@ -544,6 +546,7 @@ class BBCooker:
return depend_tree
+ ######## WARNING : this function requires cache_extra to be enabled ########
def generatePkgDepTreeData(self, pkgs_to_build, task):
"""
Create a dependency tree of pkgs_to_build, returning the data.
@@ -571,8 +574,11 @@ class BBCooker:
lic = self.status.license[fn]
section = self.status.section[fn]
description = self.status.description[fn]
+ homepage = self.status.homepage[fn]
+ bugtracker = self.status.bugtracker[fn]
rdepends = self.status.rundeps[fn]
rrecs = self.status.runrecs[fn]
+ prevision = self.status.prevision[fn]
inherits = self.status.inherits.get(fn, None)
if pn not in depend_tree["pn"]:
depend_tree["pn"][pn] = {}
@@ -583,6 +589,9 @@ class BBCooker:
depend_tree["pn"][pn]["section"] = section
depend_tree["pn"][pn]["description"] = description
depend_tree["pn"][pn]["inherits"] = inherits
+ depend_tree["pn"][pn]["homepage"] = homepage
+ depend_tree["pn"][pn]["bugtracker"] = bugtracker
+ depend_tree["pn"][pn]["revision"] = prevision
if fnid not in seen_fnids:
seen_fnids.append(fnid)