summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-11-01 15:58:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-04 10:53:35 +0000
commit57beaf994f20c34bc7a98c109cc6ea9fce072375 (patch)
tree14cdb0f5acef23c4d96e188141133e2ea9c939b1
parente1aebfe0180af4d85b85d42b5508aaf52f2fdccb (diff)
downloadpoky-57beaf994f20c34bc7a98c109cc6ea9fce072375.tar.gz
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 <alexandru.damian@intel.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/cooker.py1
1 files changed, 0 insertions, 1 deletions
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:
1085 1085
1086 self.buildSetVars() 1086 self.buildSetVars()
1087 1087
1088 self.recipecache = bb.cache.CacheData(self.caches_array)
1089 infos = bb.cache.Cache.parse(fn, self.collection.get_file_appends(fn), \ 1088 infos = bb.cache.Cache.parse(fn, self.collection.get_file_appends(fn), \
1090 self.data, 1089 self.data,
1091 self.caches_array) 1090 self.caches_array)