diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-09-02 10:17:52 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-05 20:25:41 +0100 |
commit | 7d3d3e90003eaec1009331e357fb579b22fd6e9d (patch) | |
tree | 24674c6144f104563f8bb6a7d9371d8aeb8954b1 /bitbake/lib | |
parent | cffbab5c0671005072db3e8f577fa3ffb1e2cd68 (diff) | |
download | ast2050-yocto-poky-7d3d3e90003eaec1009331e357fb579b22fd6e9d.zip ast2050-yocto-poky-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/lib')
-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 c1302e5..022d1b6 100644 --- a/bitbake/lib/bb/ui/hob.py +++ b/bitbake/lib/bb/ui/hob.py @@ -992,6 +992,8 @@ def main (server, eventHandler): if not sdk_mach: sdk_mach = server.runCommand(["getVariable", "SDK_ARCH"]) distro = server.runCommand(["getVariable", "DISTRO"]) + if not distro: + distro = "defaultsetup" bbthread = server.runCommand(["getVariable", "BB_NUMBER_THREADS"]) if not bbthread: bbthread = 1 |