summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/hob.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/hob.py')
-rw-r--r--bitbake/lib/bb/ui/hob.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index a5a29603c5..305559f24e 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -937,9 +937,12 @@ def main (server, eventHandler):
937 if incompatible and incompatible.lower().find("gplv3"): 937 if incompatible and incompatible.lower().find("gplv3"):
938 gplv3disabled = True 938 gplv3disabled = True
939 939
940 build_toolchain = bool(server.runCommand(["getVariable", "HOB_BUILD_TOOLCHAIN"]))
941 build_headers = bool(server.runCommand(["getVariable", "HOB_BUILD_TOOLCHAIN_HEADERS"]))
942
940 prefs = HobPrefs(configurator, handler, sdk_mach, distro, pclass, cpu_cnt, 943 prefs = HobPrefs(configurator, handler, sdk_mach, distro, pclass, cpu_cnt,
941 pmake, bbthread, selected_image_types, all_image_types, 944 pmake, bbthread, selected_image_types, all_image_types,
942 gplv3disabled) 945 gplv3disabled, build_toolchain, build_headers)
943 layers = LayerEditor(configurator, None) 946 layers = LayerEditor(configurator, None)
944 window = MainWindow(taskmodel, handler, configurator, prefs, layers, mach) 947 window = MainWindow(taskmodel, handler, configurator, prefs, layers, mach)
945 prefs.set_parent_window(window) 948 prefs.set_parent_window(window)