diff options
-rw-r--r-- | bitbake/lib/bb/ui/hob.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py index c1302e51fa..022d1b638a 100644 --- a/bitbake/lib/bb/ui/hob.py +++ b/bitbake/lib/bb/ui/hob.py | |||
@@ -992,6 +992,8 @@ def main (server, eventHandler): | |||
992 | if not sdk_mach: | 992 | if not sdk_mach: |
993 | sdk_mach = server.runCommand(["getVariable", "SDK_ARCH"]) | 993 | sdk_mach = server.runCommand(["getVariable", "SDK_ARCH"]) |
994 | distro = server.runCommand(["getVariable", "DISTRO"]) | 994 | distro = server.runCommand(["getVariable", "DISTRO"]) |
995 | if not distro: | ||
996 | distro = "defaultsetup" | ||
995 | bbthread = server.runCommand(["getVariable", "BB_NUMBER_THREADS"]) | 997 | bbthread = server.runCommand(["getVariable", "BB_NUMBER_THREADS"]) |
996 | if not bbthread: | 998 | if not bbthread: |
997 | bbthread = 1 | 999 | bbthread = 1 |