summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cache.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-11-18 11:14:38 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:41 +0000
commit814c80f53c29802153120f95dfdb5750e3fb09cc (patch)
tree958557c38bb136810c40d0797668f55f584e335c /bitbake/lib/bb/cache.py
parent84f02831a71781b734055aedc6e630e86bc6dd48 (diff)
downloadpoky-814c80f53c29802153120f95dfdb5750e3fb09cc.tar.gz
cache: Add debug msg for a nonexistant dep file
If a recipe depends on a file, and that file is out of date, we show a message, but if that file was removed, we do not, until now. (Bitbake rev: 67984ba0ac2db79874541bc031f2e3e9ff7a6c32) 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.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 0734c7e771..5adb8d4a5c 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -278,6 +278,8 @@ class Cache(object):
278 fmtime = bb.parse.cached_mtime_noerror(f) 278 fmtime = bb.parse.cached_mtime_noerror(f)
279 # Check if file still exists 279 # Check if file still exists
280 if old_mtime != 0 and fmtime == 0: 280 if old_mtime != 0 and fmtime == 0:
281 logger.debug(2, "Cache: %s's dependency %s was removed",
282 fn, f)
281 self.remove(fn) 283 self.remove(fn)
282 return False 284 return False
283 285