summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cache.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r--bitbake/lib/bb/cache.py4
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:
208 return False 208 return False
209 209
210 # Check the file's timestamp 210 # Check the file's timestamp
211 if mtime > self.getVar("CACHETIMESTAMP", fn, True): 211 if mtime != self.getVar("CACHETIMESTAMP", fn, True):
212 bb.msg.debug(2, bb.msg.domain.Cache, "Cache: %s changed" % fn) 212 bb.msg.debug(2, bb.msg.domain.Cache, "Cache: %s changed" % fn)
213 self.remove(fn) 213 self.remove(fn)
214 return False 214 return False
@@ -223,7 +223,7 @@ class Cache:
223 self.remove(fn) 223 self.remove(fn)
224 return False 224 return False
225 225
226 if (fmtime > old_mtime): 226 if (fmtime != old_mtime):
227 bb.msg.debug(2, bb.msg.domain.Cache, "Cache: %s's dependency %s changed" % (fn, f)) 227 bb.msg.debug(2, bb.msg.domain.Cache, "Cache: %s's dependency %s changed" % (fn, f))
228 self.remove(fn) 228 self.remove(fn)
229 return False 229 return False