summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/runqueue.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 2b37619ae3..6ba82a338c 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -573,11 +573,6 @@ class RunQueueData:
573 fn = taskData.fn_index[fnid] 573 fn = taskData.fn_index[fnid]
574 self.target_pairs.append((fn, target[1])) 574 self.target_pairs.append((fn, target[1]))
575 575
576 # Remove stamps for targets if force mode active
577 if self.cooker.configuration.force:
578 logger.verbose("Remove stamp %s, %s", target[1], fn)
579 bb.build.del_stamp(target[1], self.dataCache, fn)
580
581 if fnid in taskData.failed_fnids: 576 if fnid in taskData.failed_fnids:
582 continue 577 continue
583 578
@@ -724,6 +719,12 @@ class RunQueueData:
724 719
725 self.hashdata = hashdata 720 self.hashdata = hashdata
726 721
722 # Remove stamps for targets if force mode active
723 if self.cooker.configuration.force:
724 for (fn, target) in self.target_pairs:
725 logger.verbose("Remove stamp %s, %s", target, fn)
726 bb.build.del_stamp(target, self.dataCache, fn)
727
727 return len(self.runq_fnid) 728 return len(self.runq_fnid)
728 729
729 def dump_data(self, taskQueue): 730 def dump_data(self, taskQueue):