diff options
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index fc06392820..21383f4206 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -482,6 +482,18 @@ class RunQueue: | |||
482 | def sigint_handler(signum, frame): | 482 | def sigint_handler(signum, frame): |
483 | raise KeyboardInterrupt | 483 | raise KeyboardInterrupt |
484 | 484 | ||
485 | # Find any tasks with current stamps and remove them from the queue | ||
486 | for task1 in range(len(self.runq_fnid)): | ||
487 | task = self.prio_map[task1] | ||
488 | fn = self.taskData.fn_index[self.runq_fnid[task]] | ||
489 | taskname = self.runq_task[task] | ||
490 | if bb.build.stamp_is_current(taskname, self.dataCache, fn): | ||
491 | bb.msg.debug(2, bb.msg.domain.RunQueue, "Stamp current task %s (%s)" % (task, self.get_user_idstring(task))) | ||
492 | self.runq_running[task] = 1 | ||
493 | self.task_complete(task) | ||
494 | self.stats.taskCompleted() | ||
495 | self.stats.taskSkipped() | ||
496 | |||
485 | while True: | 497 | while True: |
486 | task = self.get_next_task() | 498 | task = self.get_next_task() |
487 | if task is not None: | 499 | if task is not None: |