diff options
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r-- | bitbake/lib/bb/cache.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 9acd301f52..fe38ea0aee 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py @@ -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 |