From 57beaf994f20c34bc7a98c109cc6ea9fce072375 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Fri, 1 Nov 2013 15:58:30 +0000 Subject: 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 Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 1 - 1 file changed, 1 deletion(-) 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) -- cgit v1.2.3-54-g00ecf