summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Dinu <andrei.adrianx.dinu@intel.com>2013-03-28 10:23:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-28 13:49:25 +0000
commit94e2f899457d6565442a933529dd3db261ab12f0 (patch)
tree56e13870f43f73aadc976372bb8a3fabff165946
parent25e0b0bc50114f1fbf955de23cc0c96f5f7a41e3 (diff)
downloadbitbake-94e2f899457d6565442a933529dd3db261ab12f0.tar.gz
cache_extra.py : added package information
Added a new variable to cache_extra so that the files brought in by a package can be displayed in hob. Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/cache_extra.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/cache_extra.py b/lib/bb/cache_extra.py
index bf02bb74d..9e38a439e 100644
--- a/lib/bb/cache_extra.py
+++ b/lib/bb/cache_extra.py
@@ -44,6 +44,7 @@ class HobRecipeInfo(RecipeInfoCommon):
self.homepage = self.getvar('HOMEPAGE', metadata)
self.bugtracker = self.getvar('BUGTRACKER', metadata)
self.prevision = self.getvar('PR', metadata)
+ self.files_info = self.getvar('FILES_INFO', metadata)
@classmethod
def init_cacheData(cls, cachedata):
@@ -55,6 +56,7 @@ class HobRecipeInfo(RecipeInfoCommon):
cachedata.homepage = {}
cachedata.bugtracker = {}
cachedata.prevision = {}
+ cachedata.files_info = {}
def add_cacheData(self, cachedata, fn):
cachedata.summary[fn] = self.summary
@@ -64,3 +66,4 @@ class HobRecipeInfo(RecipeInfoCommon):
cachedata.homepage[fn] = self.homepage
cachedata.bugtracker[fn] = self.bugtracker
cachedata.prevision[fn] = self.prevision
+ cachedata.files_info[fn] = self.files_info