mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 17:02:22 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
cffbab5c06
commit
7d3d3e9000
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user