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.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index 90d5c5aa90..a5a29603c5 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -932,8 +932,14 @@ def main (server, eventHandler):
932 # PACKAGE_CLASSES and that's the package manager used for the rootfs 932 # PACKAGE_CLASSES and that's the package manager used for the rootfs
933 pkg, sep, pclass = pclasses[0].rpartition("_") 933 pkg, sep, pclass = pclasses[0].rpartition("_")
934 934
935 incompatible = server.runCommand(["getVariable", "INCOMPATIBLE_LICENSE"])
936 gplv3disabled = False
937 if incompatible and incompatible.lower().find("gplv3"):
938 gplv3disabled = True
939
935 prefs = HobPrefs(configurator, handler, sdk_mach, distro, pclass, cpu_cnt, 940 prefs = HobPrefs(configurator, handler, sdk_mach, distro, pclass, cpu_cnt,
936 pmake, bbthread, selected_image_types, all_image_types) 941 pmake, bbthread, selected_image_types, all_image_types,
942 gplv3disabled)
937 layers = LayerEditor(configurator, None) 943 layers = LayerEditor(configurator, None)
938 window = MainWindow(taskmodel, handler, configurator, prefs, layers, mach) 944 window = MainWindow(taskmodel, handler, configurator, prefs, layers, mach)
939 prefs.set_parent_window(window) 945 prefs.set_parent_window(window)