summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cache_extra.py
diff options
context:
space:
mode:
authorAndrei Dinu <andrei.adrianx.dinu@intel.com>2013-03-05 17:36:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-19 13:51:23 +0000
commite8b0e190b6b8d788310ec94f2f7ba5de7f5f11bd (patch)
tree069e8b81aabd2a978e6c6254e3e092e00f7cc2d7 /bitbake/lib/bb/cache_extra.py
parent410d1e049a1933c44b29416f3ac833ed001f8248 (diff)
downloadopenembedded-core-contrib-e8b0e190b6b8d788310ec94f2f7ba5de7f5f11bd.tar.gz
bitbake: cache_extra: Add extra variables
- in order to have the information needed in the property windows, cache_extra.py was extended with variables. (Bitbake rev: bc09090f44f9b3a1b123f5453586295b9623218b) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cache_extra.py')
-rw-r--r--bitbake/lib/bb/cache_extra.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cache_extra.py b/bitbake/lib/bb/cache_extra.py
index 40ba304c43..bf02bb74dd 100644
--- a/bitbake/lib/bb/cache_extra.py
+++ b/bitbake/lib/bb/cache_extra.py
@@ -41,6 +41,9 @@ class HobRecipeInfo(RecipeInfoCommon):
self.license = self.getvar('LICENSE', metadata)
self.section = self.getvar('SECTION', metadata)
self.description = self.getvar('DESCRIPTION', metadata)
+ self.homepage = self.getvar('HOMEPAGE', metadata)
+ self.bugtracker = self.getvar('BUGTRACKER', metadata)
+ self.prevision = self.getvar('PR', metadata)
@classmethod
def init_cacheData(cls, cachedata):
@@ -49,9 +52,15 @@ class HobRecipeInfo(RecipeInfoCommon):
cachedata.license = {}
cachedata.section = {}
cachedata.description = {}
+ cachedata.homepage = {}
+ cachedata.bugtracker = {}
+ cachedata.prevision = {}
def add_cacheData(self, cachedata, fn):
cachedata.summary[fn] = self.summary
cachedata.license[fn] = self.license
cachedata.section[fn] = self.section
cachedata.description[fn] = self.description
+ cachedata.homepage[fn] = self.homepage
+ cachedata.bugtracker[fn] = self.bugtracker
+ cachedata.prevision[fn] = self.prevision