summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/runqueue.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 0475ee2177..91b1f07351 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -125,7 +125,10 @@ class RunQueueScheduler(object):
125 if not self.buildable: 125 if not self.buildable:
126 return None 126 return None
127 if len(self.buildable) == 1: 127 if len(self.buildable) == 1:
128 return self.buildable[0] 128 taskid = self.buildable[0]
129 stamp = self.stamps[taskid]
130 if stamp not in self.rq.build_stamps.itervalues():
131 return taskid
129 132
130 if not self.rev_prio_map: 133 if not self.rev_prio_map:
131 self.rev_prio_map = range(self.numTasks) 134 self.rev_prio_map = range(self.numTasks)