diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 9d051fa30f..4650d7c551 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -471,6 +471,8 @@ class BBCooker: | |||
471 | taskdata.add_unresolved(localdata, self.status) | 471 | taskdata.add_unresolved(localdata, self.status) |
472 | bb.event.fire(bb.event.TreeDataPreparationCompleted(len(pkgs_to_build)), self.configuration.data) | 472 | bb.event.fire(bb.event.TreeDataPreparationCompleted(len(pkgs_to_build)), self.configuration.data) |
473 | return runlist, taskdata | 473 | return runlist, taskdata |
474 | |||
475 | ######## WARNING : this function requires cache_extra to be enabled ######## | ||
474 | 476 | ||
475 | def generateTaskDepTreeData(self, pkgs_to_build, task): | 477 | def generateTaskDepTreeData(self, pkgs_to_build, task): |
476 | """ | 478 | """ |
@@ -544,6 +546,7 @@ class BBCooker: | |||
544 | 546 | ||
545 | return depend_tree | 547 | return depend_tree |
546 | 548 | ||
549 | ######## WARNING : this function requires cache_extra to be enabled ######## | ||
547 | def generatePkgDepTreeData(self, pkgs_to_build, task): | 550 | def generatePkgDepTreeData(self, pkgs_to_build, task): |
548 | """ | 551 | """ |
549 | Create a dependency tree of pkgs_to_build, returning the data. | 552 | Create a dependency tree of pkgs_to_build, returning the data. |
@@ -571,8 +574,11 @@ class BBCooker: | |||
571 | lic = self.status.license[fn] | 574 | lic = self.status.license[fn] |
572 | section = self.status.section[fn] | 575 | section = self.status.section[fn] |
573 | description = self.status.description[fn] | 576 | description = self.status.description[fn] |
577 | homepage = self.status.homepage[fn] | ||
578 | bugtracker = self.status.bugtracker[fn] | ||
574 | rdepends = self.status.rundeps[fn] | 579 | rdepends = self.status.rundeps[fn] |
575 | rrecs = self.status.runrecs[fn] | 580 | rrecs = self.status.runrecs[fn] |
581 | prevision = self.status.prevision[fn] | ||
576 | inherits = self.status.inherits.get(fn, None) | 582 | inherits = self.status.inherits.get(fn, None) |
577 | if pn not in depend_tree["pn"]: | 583 | if pn not in depend_tree["pn"]: |
578 | depend_tree["pn"][pn] = {} | 584 | depend_tree["pn"][pn] = {} |
@@ -583,6 +589,9 @@ class BBCooker: | |||
583 | depend_tree["pn"][pn]["section"] = section | 589 | depend_tree["pn"][pn]["section"] = section |
584 | depend_tree["pn"][pn]["description"] = description | 590 | depend_tree["pn"][pn]["description"] = description |
585 | depend_tree["pn"][pn]["inherits"] = inherits | 591 | depend_tree["pn"][pn]["inherits"] = inherits |
592 | depend_tree["pn"][pn]["homepage"] = homepage | ||
593 | depend_tree["pn"][pn]["bugtracker"] = bugtracker | ||
594 | depend_tree["pn"][pn]["revision"] = prevision | ||
586 | 595 | ||
587 | if fnid not in seen_fnids: | 596 | if fnid not in seen_fnids: |
588 | seen_fnids.append(fnid) | 597 | seen_fnids.append(fnid) |