diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-11-19 11:46:42 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2011-01-04 14:46:43 +0000 |
commit | 739bb5a2d1c821b8e44c0551bdd0fd323000b6af (patch) | |
tree | c07440b40343cf4b807618f0eae7e5dd1739bda8 /bitbake/lib/bb/cache.py | |
parent | 065da895d2b5eced3e444b20627f8f460e6d14c7 (diff) | |
download | poky-739bb5a2d1c821b8e44c0551bdd0fd323000b6af.tar.gz |
cooker: stop loading the cache for -b
Previously, the cache was actually being loaded from disk twice whenever using
-b or -e -b. This also moves the bb_cache instance into the CookerParser, as
it's not needed by the cooker itself at all.
(Bitbake rev: dd0ec2f7b18e2a9ab06c499b775670516bd06ac8)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r-- | bitbake/lib/bb/cache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 5adce594f0..2b92ed01f0 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py | |||
@@ -172,7 +172,7 @@ class Cache(object): | |||
172 | # If any of configuration.data's dependencies are newer than the | 172 | # If any of configuration.data's dependencies are newer than the |
173 | # cache there isn't even any point in loading it... | 173 | # cache there isn't even any point in loading it... |
174 | newest_mtime = 0 | 174 | newest_mtime = 0 |
175 | deps = bb.data.getVar("__depends", data) | 175 | deps = bb.data.getVar("__base_depends", data) |
176 | 176 | ||
177 | old_mtimes = [old_mtime for _, old_mtime in deps] | 177 | old_mtimes = [old_mtime for _, old_mtime in deps] |
178 | old_mtimes.append(newest_mtime) | 178 | old_mtimes.append(newest_mtime) |