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

Submitted by Paul Eggleton on Nov. 1, 2013, 3:58 p.m. | Patch ID: 60985


Message ID 1072e122ee8938b6d92d7352bf55ff4278ba3158.1383321482.git.paul.eggleton@linux.intel.com
State Accepted
Commit 618d69b00075981b8553513130d7deb1aed61578
Headers show

Commit Message

Paul Eggleton Nov. 1, 2013, 3:58 p.m.
From: Alexandru DAMIAN <alexandru.damian@intel.com>

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>
 lib/bb/cooker.py | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index ccc6858..0af4558 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -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), \