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):
65 65
66 self.current_command = None 66 self.current_command = None
67 self.building = None 67 self.building = None
68 self.gplv3_excluded = False
69 self.build_toolchain = False 68 self.build_toolchain = False
70 self.build_toolchain_headers = False 69 self.build_toolchain_headers = False
71 self.generating = False 70 self.generating = False
@@ -269,13 +268,8 @@ class HobHandler(gobject.GObject):
269 # leave the workdir in a usable state 268 # leave the workdir in a usable state
270 self.server.runCommand(["stateShutdown"]) 269 self.server.runCommand(["stateShutdown"])
271 270
272 def toggle_gplv3(self, excluded): 271 def set_incompatible_license(self, incompatible):
273 if self.gplv3_excluded != excluded: 272 self.server.runCommand(["setVariable", "INCOMPATIBLE_LICENSE", incompatible])
274 self.gplv3_excluded = excluded
275 if excluded:
276 self.server.runCommand(["setVariable", "INCOMPATIBLE_LICENSE", "GPLv3"])
277 else:
278 self.server.runCommand(["setVariable", "INCOMPATIBLE_LICENSE", ""])
279 273
280 def toggle_toolchain(self, enabled): 274 def toggle_toolchain(self, enabled):
281 if self.build_toolchain != enabled: 275 if self.build_toolchain != enabled: