summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index 4897bccd26..c6ac7d5499 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -65,7 +65,6 @@ class HobHandler(gobject.GObject):
self.current_command = None
self.building = None
- self.gplv3_excluded = False
self.build_toolchain = False
self.build_toolchain_headers = False
self.generating = False
@@ -269,13 +268,8 @@ class HobHandler(gobject.GObject):
# leave the workdir in a usable state
self.server.runCommand(["stateShutdown"])
- def toggle_gplv3(self, excluded):
- if self.gplv3_excluded != excluded:
- self.gplv3_excluded = excluded
- if excluded:
- self.server.runCommand(["setVariable", "INCOMPATIBLE_LICENSE", "GPLv3"])
- else:
- self.server.runCommand(["setVariable", "INCOMPATIBLE_LICENSE", ""])
+ def set_incompatible_license(self, incompatible):
+ self.server.runCommand(["setVariable", "INCOMPATIBLE_LICENSE", incompatible])
def toggle_toolchain(self, enabled):
if self.build_toolchain != enabled: