summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/cache.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 33734df940..8c1e6922fb 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -70,9 +70,10 @@ class Cache:
70 # cache there isn't even any point in loading it... 70 # cache there isn't even any point in loading it...
71 newest_mtime = 0 71 newest_mtime = 0
72 deps = bb.data.getVar("__depends", data) 72 deps = bb.data.getVar("__depends", data)
73 for f, old_mtime in deps: 73
74 if old_mtime > newest_mtime: 74 old_mtimes = [old_mtime for f, old_mtime in deps]
75 newest_mtime = old_mtime 75 old_mtimes.append(newest_mtime)
76 newest_mtime = max(old_mtimes)
76 77
77 if bb.parse.cached_mtime_noerror(self.cachefile) >= newest_mtime: 78 if bb.parse.cached_mtime_noerror(self.cachefile) >= newest_mtime:
78 try: 79 try: