aboutsummaryrefslogtreecommitdiffstats
path: root/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:05 +0000
commitbc09090f44f9b3a1b123f5453586295b9623218b (patch)
tree95b1f63b7f93f6b8b16685b9ba28113fd192e389 /lib/bb/cache_extra.py
parent324ed96e28ec31cff8cef1824d20d40f9a5d46ad (diff)
downloadbitbake-contrib-bc09090f44f9b3a1b123f5453586295b9623218b.tar.gz
cache_extra: Add extra variables
- in order to have the information needed in the property windows, cache_extra.py was extended with variables. Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cache_extra.py')
-rw-r--r--lib/bb/cache_extra.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/bb/cache_extra.py b/lib/bb/cache_extra.py
index 40ba304c4..bf02bb74d 100644
--- a/lib/bb/cache_extra.py
+++ b/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