summaryrefslogtreecommitdiffstats
path: root/lib/bb
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-01 17:59:10 +0000
commit618d69b00075981b8553513130d7deb1aed61578 (patch)
tree662e7d839fa926e5170af25b01faabe6f586f5c4 /lib/bb
parent6648c57e6d369fc009ea3a9fe939def5d2c67bf5 (diff)
downloadbitbake-618d69b00075981b8553513130d7deb1aed61578.tar.gz
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. 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>
Diffstat (limited to 'lib/bb')
-rw-r--r--lib/bb/cooker.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index ccc685878..0af4558fd 100644
--- a/lib/bb/cooker.py
+++ b/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)