Patchwork [bitbake-devel,3/8] cooker: do not recreate recipecache in buildfile mode

mail settings
Submitter Paul Eggleton
Date Nov. 1, 2013, 3:58 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/60985/
State Accepted
Commit 618d69b00075981b8553513130d7deb1aed61578
Headers show


Paul Eggleton - Nov. 1, 2013, 3:58 p.m.
From: Alexandru DAMIAN <>

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 <>
Signed-off-by: Paul Eggleton <>
 lib/bb/ | 1 -
 1 file changed, 1 deletion(-)


diff --git a/lib/bb/ b/lib/bb/
index ccc6858..0af4558 100644
--- a/lib/bb/
+++ b/lib/bb/
@@ -1085,7 +1085,6 @@  class BBCooker:
-        self.recipecache = bb.cache.CacheData(self.caches_array)
         infos = bb.cache.Cache.parse(fn, self.collection.get_file_appends(fn), \