summaryrefslogtreecommitdiff
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
parent84f02831a71781b734055aedc6e630e86bc6dd48 (diff)
downloadopenembedded-core-814c80f53c29802153120f95dfdb5750e3fb09cc.tar.gz
openembedded-core-814c80f53c29802153120f95dfdb5750e3fb09cc.tar.bz2
openembedded-core-814c80f53c29802153120f95dfdb5750e3fb09cc.tar.xz
openembedded-core-814c80f53c29802153120f95dfdb5750e3fb09cc.zip
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>
-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 0734c7e77..5adb8d4a5 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -278,6 +278,8 @@ class Cache(object):
fmtime = bb.parse.cached_mtime_noerror(f)
# Check if file still exists
if old_mtime != 0 and fmtime == 0:
+ logger.debug(2, "Cache: %s's dependency %s was removed",
+ fn, f)
self.remove(fn)
return False