summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index ce8584df4c..7014935f6d 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -306,9 +306,7 @@ class HobHandler(gobject.GObject):
306 self.runCommand(["createConfigFile", ".hob.conf"]) 306 self.runCommand(["createConfigFile", ".hob.conf"])
307 307
308 def set_extra_inherit(self, bbclass): 308 def set_extra_inherit(self, bbclass):
309 inherits = self.runCommand(["getVariable", "INHERIT"]) or "" 309 self.append_var_in_file("INHERIT", bbclass, ".hob.conf")
310 inherits = inherits + " " + bbclass
311 self.set_var_in_file("INHERIT", inherits, ".hob.conf")
312 310
313 def set_bblayers(self, bblayers): 311 def set_bblayers(self, bblayers):
314 self.set_var_in_file("BBLAYERS", " ".join(bblayers), "bblayers.conf") 312 self.set_var_in_file("BBLAYERS", " ".join(bblayers), "bblayers.conf")