summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-09-02 10:17:52 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-05 20:25:41 +0100
commit7d3d3e90003eaec1009331e357fb579b22fd6e9d (patch)
tree24674c6144f104563f8bb6a7d9371d8aeb8954b1 /bitbake
parentcffbab5c0671005072db3e8f577fa3ffb1e2cd68 (diff)
downloadpoky-7d3d3e90003eaec1009331e357fb579b22fd6e9d.tar.gz
hob: reflect defaultsetup being default distro
If no value is set for DISTRO the defaultsetup policy is used, reflect this in the UI by having defaultsetup selected in the Distribution combo when no other DISTRO is set. (Bitbake rev: 126267c545ede65042959d134ea75c0345577747) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/hob.py2
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