projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
567c057
)
cache.py: Don't error if a file doesn't exist, just mark the cache entry invalid
author
Richard Purdie
<rpurdie@linux.intel.com>
Fri, 15 Sep 2006 15:34:54 +0000
(15:34 +0000)
committer
Richard Purdie
<rpurdie@linux.intel.com>
Fri, 15 Sep 2006 15:34:54 +0000
(15:34 +0000)
lib/bb/cache.py
patch
|
blob
|
history
diff --git
a/lib/bb/cache.py
b/lib/bb/cache.py
index
e4985e4
..
49d92da
100644
(file)
--- a/
lib/bb/cache.py
+++ b/
lib/bb/cache.py
@@
-192,6
+192,10
@@
class Cache:
# Check dependencies are still valid
depends = self.getVar("__depends", fn, True)
for f,old_mtime in depends:
+ # Check if file still exists
+ if self.mtime(f) == 0:
+ return False
+
new_mtime = bb.parse.cached_mtime(f)
if (new_mtime > old_mtime):
bb.msg.debug(2, bb.msg.domain.Cache, "Cache: %s's dependency %s changed" % (fn, f))