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)
downloadpoky-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):
41 self.license = self.getvar('LICENSE', metadata) 41 self.license = self.getvar('LICENSE', metadata)
42 self.section = self.getvar('SECTION', metadata) 42 self.section = self.getvar('SECTION', metadata)
43 self.description = self.getvar('DESCRIPTION', metadata) 43 self.description = self.getvar('DESCRIPTION', metadata)
44 self.homepage = self.getvar('HOMEPAGE', metadata)
45 self.bugtracker = self.getvar('BUGTRACKER', metadata)
46 self.prevision = self.getvar('PR', metadata)
44 47
45 @classmethod 48 @classmethod
46 def init_cacheData(cls, cachedata): 49 def init_cacheData(cls, cachedata):
@@ -49,9 +52,15 @@ class HobRecipeInfo(RecipeInfoCommon):
49 cachedata.license = {} 52 cachedata.license = {}
50 cachedata.section = {} 53 cachedata.section = {}
51 cachedata.description = {} 54 cachedata.description = {}
55 cachedata.homepage = {}
56 cachedata.bugtracker = {}
57 cachedata.prevision = {}
52 58
53 def add_cacheData(self, cachedata, fn): 59 def add_cacheData(self, cachedata, fn):
54 cachedata.summary[fn] = self.summary 60 cachedata.summary[fn] = self.summary
55 cachedata.license[fn] = self.license 61 cachedata.license[fn] = self.license
56 cachedata.section[fn] = self.section 62 cachedata.section[fn] = self.section
57 cachedata.description[fn] = self.description 63 cachedata.description[fn] = self.description
64 cachedata.homepage[fn] = self.homepage
65 cachedata.bugtracker[fn] = self.bugtracker
66 cachedata.prevision[fn] = self.prevision