summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py2
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py3
2 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index dd3ea95a8f..cbcb3f1965 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -557,6 +557,8 @@ class Builder(gtk.Window):
557 self.handler.init_cooker() 557 self.handler.init_cooker()
558 # set bb layers 558 # set bb layers
559 self.handler.set_bblayers(self.configuration.layers) 559 self.handler.set_bblayers(self.configuration.layers)
560 # Re-enable sanity checks
561 self.handler.enable_sanity()
560 # set local configuration 562 # set local configuration
561 self.handler.set_machine(self.configuration.curr_mach) 563 self.handler.set_machine(self.configuration.curr_mach)
562 self.handler.set_package_format(self.configuration.curr_package_format) 564 self.handler.set_package_format(self.configuration.curr_package_format)
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index ebfc388f73..c918aad8dc 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -233,6 +233,9 @@ class HobHandler(gobject.GObject):
233 inherits = inherits + " " + bbclass 233 inherits = inherits + " " + bbclass
234 self.runCommand(["setVariable", "INHERIT", inherits]) 234 self.runCommand(["setVariable", "INHERIT", inherits])
235 235
236 def enable_sanity(self):
237 self.runCommand(["setVariable", "DISABLE_SANITY_CHECKS", "0"])
238
236 def set_bblayers(self, bblayers): 239 def set_bblayers(self, bblayers):
237 self.runCommand(["setVariable", "BBLAYERS_HOB", " ".join(bblayers)]) 240 self.runCommand(["setVariable", "BBLAYERS_HOB", " ".join(bblayers)])
238 241