diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 8b3fe5a957..aaaafc594f 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1085,15 +1085,19 @@ class RunQueue: | |||
1085 | stampfile3 = bb.build.stampfile(taskname2 + "_setscene", self.rqdata.dataCache, fn2) | 1085 | stampfile3 = bb.build.stampfile(taskname2 + "_setscene", self.rqdata.dataCache, fn2) |
1086 | t2 = get_timestamp(stampfile2) | 1086 | t2 = get_timestamp(stampfile2) |
1087 | t3 = get_timestamp(stampfile3) | 1087 | t3 = get_timestamp(stampfile3) |
1088 | if t3 and not t2: | ||
1089 | continue | ||
1088 | if t3 and t3 > t2: | 1090 | if t3 and t3 > t2: |
1089 | continue | 1091 | continue |
1090 | if fn == fn2 or (fulldeptree and fn2 not in stampwhitelist): | 1092 | if fn == fn2 or (fulldeptree and fn2 not in stampwhitelist): |
1091 | if not t2: | 1093 | if not t2: |
1092 | logger.debug(2, 'Stampfile %s does not exist', stampfile2) | 1094 | logger.debug(2, 'Stampfile %s does not exist', stampfile2) |
1093 | iscurrent = False | 1095 | iscurrent = False |
1096 | break | ||
1094 | if t1 < t2: | 1097 | if t1 < t2: |
1095 | logger.debug(2, 'Stampfile %s < %s', stampfile, stampfile2) | 1098 | logger.debug(2, 'Stampfile %s < %s', stampfile, stampfile2) |
1096 | iscurrent = False | 1099 | iscurrent = False |
1100 | break | ||
1097 | if recurse and iscurrent: | 1101 | if recurse and iscurrent: |
1098 | if dep in cache: | 1102 | if dep in cache: |
1099 | iscurrent = cache[dep] | 1103 | iscurrent = cache[dep] |