From 739bb5a2d1c821b8e44c0551bdd0fd323000b6af Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 19 Nov 2010 11:46:42 -0700 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/cache.py') 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): # 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) -- cgit v1.2.3-54-g00ecf