summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 2a3a3afaca..4e9e8d657e 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -173,6 +173,12 @@ class CommandsSync:
173 """ 173 """
174 command.cooker.reset() 174 command.cooker.reset()
175 175
176 def getCpuCount(self, command, params):
177 """
178 Get the CPU count on the bitbake server
179 """
180 return bb.utils.cpu_count()
181
176 182
177class CommandsAsync: 183class CommandsAsync:
178 """ 184 """