summaryrefslogtreecommitdiffstats
path: root/lib/bb/cache.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-11-19 11:46:42 -0700
committerChris Larson <chris_larson@mentor.com>2010-11-21 11:24:47 -0700
commitdd0ec2f7b18e2a9ab06c499b775670516bd06ac8 (patch)
treefdb6936690712f275545b244614efa82b954cd3a /lib/bb/cache.py
parent7cf7d5f14405681496fced3640a50a20ef1acac1 (diff)
downloadbitbake-dd0ec2f7b18e2a9ab06c499b775670516bd06ac8.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. Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/cache.py')
-rw-r--r--lib/bb/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/cache.py b/lib/bb/cache.py
index d5c07f545..92b550393 100644
--- a/lib/bb/cache.py
+++ b/lib/bb/cache.py
@@ -158,7 +158,7 @@ class Cache(object):
# If any of configuration.data's dependencies are newer than the
# cache there isn't even any point in loading it...
newest_mtime = 0
- deps = bb.data.getVar("__depends", data)
+ deps = bb.data.getVar("__base_depends", data)
old_mtimes = [old_mtime for _, old_mtime in deps]
old_mtimes.append(newest_mtime)