diff options
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index cc1aedfce7..17a55d3d6e 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1280,6 +1280,9 @@ class RunQueueExecute: | |||
1280 | if rq.fakeworkerpipe: | 1280 | if rq.fakeworkerpipe: |
1281 | rq.fakeworkerpipe.setrunqueueexec(self) | 1281 | rq.fakeworkerpipe.setrunqueueexec(self) |
1282 | 1282 | ||
1283 | if self.number_tasks <= 0: | ||
1284 | bb.fatal("Invalid BB_NUMBER_THREADS %s" % self.number_tasks) | ||
1285 | |||
1283 | def runqueue_process_waitpid(self, task, status): | 1286 | def runqueue_process_waitpid(self, task, status): |
1284 | 1287 | ||
1285 | # self.build_stamps[pid] may not exist when use shared work directory. | 1288 | # self.build_stamps[pid] may not exist when use shared work directory. |