diff options
author | Shane Wang <shane.wang@intel.com> | 2012-02-02 14:05:27 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-02 16:55:50 +0000 |
commit | 74994e1f45c776a02e7e228e1204ab54d677da0a (patch) | |
tree | b4938382b96e801223eb82b6cbafe741f47b4507 /lib/bb/cache_extra.py | |
parent | 9d06f6cd534fe1814a3f027709b5d2b6c5f68ff2 (diff) | |
download | bitbake-contrib-74994e1f45c776a02e7e228e1204ab54d677da0a.tar.gz |
bitbake: Add description into the cache and clean up cache duplication
With the addition of new cache domains, the summary, license and section
information is no longer requred in the core cache since its only used by
the hob UI. This patch removes the duplicated entries.
It also adds the DESCRIPTION field to the cache for the benefit of hob2.
Signed-off-by: Shane Wang <shane.wang@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.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/cache_extra.py b/lib/bb/cache_extra.py index 4c8841f85..40ba304c4 100644 --- a/lib/bb/cache_extra.py +++ b/lib/bb/cache_extra.py @@ -40,6 +40,7 @@ class HobRecipeInfo(RecipeInfoCommon): self.summary = self.getvar('SUMMARY', metadata) self.license = self.getvar('LICENSE', metadata) self.section = self.getvar('SECTION', metadata) + self.description = self.getvar('DESCRIPTION', metadata) @classmethod def init_cacheData(cls, cachedata): @@ -47,8 +48,10 @@ class HobRecipeInfo(RecipeInfoCommon): cachedata.summary = {} cachedata.license = {} cachedata.section = {} + cachedata.description = {} 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 |