summaryrefslogtreecommitdiffstats
path: root/lib/bb/cache.py
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-02-02 14:05:27 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-02 16:55:50 +0000
commit74994e1f45c776a02e7e228e1204ab54d677da0a (patch)
treeb4938382b96e801223eb82b6cbafe741f47b4507 /lib/bb/cache.py
parent9d06f6cd534fe1814a3f027709b5d2b6c5f68ff2 (diff)
downloadopenembedded-core-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.py')
-rw-r--r--lib/bb/cache.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/bb/cache.py b/lib/bb/cache.py
index 6b7fa6f1a2..99e0f34956 100644
--- a/lib/bb/cache.py
+++ b/lib/bb/cache.py
@@ -137,9 +137,6 @@ class CoreRecipeInfo(RecipeInfoCommon):
self.rdepends_pkg = self.pkgvar('RDEPENDS', self.packages, metadata)
self.rrecommends_pkg = self.pkgvar('RRECOMMENDS', self.packages, metadata)
self.inherits = self.getvar('__inherit_cache', metadata)
- self.summary = self.getvar('SUMMARY', metadata)
- self.license = self.getvar('LICENSE', metadata)
- self.section = self.getvar('SECTION', metadata)
self.fakerootenv = self.getvar('FAKEROOTENV', metadata)
self.fakerootdirs = self.getvar('FAKEROOTDIRS', metadata)
self.fakerootnoenv = self.getvar('FAKEROOTNOENV', metadata)
@@ -174,9 +171,6 @@ class CoreRecipeInfo(RecipeInfoCommon):
cachedata.basetaskhash = {}
cachedata.inherits = {}
- cachedata.summary = {}
- cachedata.license = {}
- cachedata.section = {}
cachedata.fakerootenv = {}
cachedata.fakerootnoenv = {}
cachedata.fakerootdirs = {}
@@ -240,9 +234,6 @@ class CoreRecipeInfo(RecipeInfoCommon):
cachedata.basetaskhash[identifier] = taskhash
cachedata.inherits[fn] = self.inherits
- cachedata.summary[fn] = self.summary
- cachedata.license[fn] = self.license
- cachedata.section[fn] = self.section
cachedata.fakerootenv[fn] = self.fakerootenv
cachedata.fakerootnoenv[fn] = self.fakerootnoenv
cachedata.fakerootdirs[fn] = self.fakerootdirs