summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 8d0b85d33a..417de22a30 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1421,18 +1421,20 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1421 sq_revdeps.append(copy.copy(self.rqdata.runq_revdeps[task])) 1421 sq_revdeps.append(copy.copy(self.rqdata.runq_revdeps[task]))
1422 sq_revdeps_new.append(set()) 1422 sq_revdeps_new.append(set())
1423 if (len(self.rqdata.runq_revdeps[task]) == 0) and task not in self.rqdata.runq_setscene: 1423 if (len(self.rqdata.runq_revdeps[task]) == 0) and task not in self.rqdata.runq_setscene:
1424 endpoints[task] = None 1424 endpoints[task] = set()
1425 1425
1426 for task in self.rqdata.runq_setscene: 1426 for task in self.rqdata.runq_setscene:
1427 for dep in self.rqdata.runq_depends[task]: 1427 for dep in self.rqdata.runq_depends[task]:
1428 endpoints[dep] = task 1428 if dep not in endpoints:
1429 endpoints[dep] = set()
1430 endpoints[dep].add(task)
1429 1431
1430 def process_endpoints(endpoints): 1432 def process_endpoints(endpoints):
1431 newendpoints = {} 1433 newendpoints = {}
1432 for point, task in endpoints.items(): 1434 for point, task in endpoints.items():
1433 tasks = set() 1435 tasks = set()
1434 if task: 1436 if task:
1435 tasks.add(task) 1437 tasks |= task
1436 if sq_revdeps_new[point]: 1438 if sq_revdeps_new[point]:
1437 tasks |= sq_revdeps_new[point] 1439 tasks |= sq_revdeps_new[point]
1438 sq_revdeps_new[point] = set() 1440 sq_revdeps_new[point] = set()