diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-11-01 15:58:30 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-04 09:36:22 +0000 |
commit | 0087db625718fd16cf8edcaac1f6cdd43332e9a9 (patch) | |
tree | 6857087513957f40b2afa522d7a7352f80783932 /bitbake/lib/bb/cooker.py | |
parent | 85b9194171a69fd7f161943f88df9c9f625cb4c7 (diff) | |
download | poky-0087db625718fd16cf8edcaac1f6cdd43332e9a9.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>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index ccc6858780..0af4558fde 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) |