diff options
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index c74e73cde9..a4030b3b93 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1435,18 +1435,20 @@ class RunQueueExecuteScenequeue(RunQueueExecute): | |||
1435 | sq_revdeps.append(copy.copy(self.rqdata.runq_revdeps[task])) | 1435 | sq_revdeps.append(copy.copy(self.rqdata.runq_revdeps[task])) |
1436 | sq_revdeps_new.append(set()) | 1436 | sq_revdeps_new.append(set()) |
1437 | if (len(self.rqdata.runq_revdeps[task]) == 0) and task not in self.rqdata.runq_setscene: | 1437 | if (len(self.rqdata.runq_revdeps[task]) == 0) and task not in self.rqdata.runq_setscene: |
1438 | endpoints[task] = None | 1438 | endpoints[task] = set() |
1439 | 1439 | ||
1440 | for task in self.rqdata.runq_setscene: | 1440 | for task in self.rqdata.runq_setscene: |
1441 | for dep in self.rqdata.runq_depends[task]: | 1441 | for dep in self.rqdata.runq_depends[task]: |
1442 | endpoints[dep] = task | 1442 | if dep not in endpoints: |
1443 | endpoints[dep] = set() | ||
1444 | endpoints[dep].add(task) | ||
1443 | 1445 | ||
1444 | def process_endpoints(endpoints): | 1446 | def process_endpoints(endpoints): |
1445 | newendpoints = {} | 1447 | newendpoints = {} |
1446 | for point, task in endpoints.items(): | 1448 | for point, task in endpoints.items(): |
1447 | tasks = set() | 1449 | tasks = set() |
1448 | if task: | 1450 | if task: |
1449 | tasks.add(task) | 1451 | tasks |= task |
1450 | if sq_revdeps_new[point]: | 1452 | if sq_revdeps_new[point]: |
1451 | tasks |= sq_revdeps_new[point] | 1453 | tasks |= sq_revdeps_new[point] |
1452 | sq_revdeps_new[point] = set() | 1454 | sq_revdeps_new[point] = set() |