From: Alexandru DAMIAN Date: Fri, 1 Nov 2013 15:58:30 +0000 (+0000) Subject: bitbake: cooker: do not recreate recipecache in buildfile mode X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0087db625718fd16cf8edcaac1f6cdd43332e9a9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index ccc6858780b..0af4558fdeb 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)