1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

bitbake: Fix a bug where changed files weren't getting spotted and an invalid cache was being used

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4148 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-03-28 17:19:49 +00:00
parent ea20fb8d33
commit 841b37b626
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -208,7 +208,7 @@ class Cache:
return False
# Check the file's timestamp
if mtime > self.getVar("CACHETIMESTAMP", fn, True):
if mtime != self.getVar("CACHETIMESTAMP", fn, True):
bb.msg.debug(2, bb.msg.domain.Cache, "Cache: %s changed" % fn)
self.remove(fn)
return False
@@ -223,7 +223,7 @@ class Cache:
self.remove(fn)
return False
if (fmtime > old_mtime):
if (fmtime != old_mtime):
bb.msg.debug(2, bb.msg.domain.Cache, "Cache: %s's dependency %s changed" % (fn, f))
self.remove(fn)
return False