summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-11-01 15:58:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-04 10:53:35 +0000
commit57beaf994f20c34bc7a98c109cc6ea9fce072375 (patch)
tree14cdb0f5acef23c4d96e188141133e2ea9c939b1
parente1aebfe0180af4d85b85d42b5508aaf52f2fdccb (diff)
downloadpoky-57beaf994f20c34bc7a98c109cc6ea9fce072375.tar.gz
poky-57beaf994f20c34bc7a98c109cc6ea9fce072375.tar.bz2
poky-57beaf994f20c34bc7a98c109cc6ea9fce072375.zip
bitbake: cooker: do not recreate recipecache in buildfile mode
When building a single file, the cooker will recreate the recipecache from scratch. I suspect this is a remnant of past code, since: * the current recipecache works fine * the new recipecache will not have all the fields as requested by HOB_EXTRA_CACHES setting This patch disables recreating the recipecache, leading to shorter times when building single build files (-b option) and better compatibility with Toaster. (Bitbake rev: 618d69b00075981b8553513130d7deb1aed61578) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/cooker.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 5fe2edb0df..08af03a0f9 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1085,7 +1085,6 @@ class BBCooker:
self.buildSetVars()
- self.recipecache = bb.cache.CacheData(self.caches_array)
infos = bb.cache.Cache.parse(fn, self.collection.get_file_appends(fn), \
self.data,
self.caches_array)