[bitbake-devel] [PATCH 3/8] cooker: do not recreate recipecache in buildfile mode
Paul Eggleton
paul.eggleton at linux.intel.com
Fri Nov 1 15:58:30 UTC 2013
From: Alexandru DAMIAN <alexandru.damian at 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 at intel.com>
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
lib/bb/cooker.py | 1 -
1 file changed, 1 deletion(-)
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.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)
--
1.8.1.2
More information about the bitbake-devel
mailing list