mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
Hob: clean up generate_configuration()
(Bitbake rev: 569d5ac3a3e89c7a8d69ec611b69edbae414b5fe) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
655476f9d1
commit
62e5a4df09
@@ -387,6 +387,9 @@ class Builder(gtk.Window):
|
||||
def cancel_build_sync(self, force=False):
|
||||
self.handler.cancel_build(force)
|
||||
|
||||
def generate_configuration_async(self):
|
||||
self.handler.generate_configuration()
|
||||
|
||||
def load_template(self, path):
|
||||
self.template = TemplateMgr()
|
||||
self.template.load(path)
|
||||
@@ -519,7 +522,7 @@ class Builder(gtk.Window):
|
||||
params = self.get_parameters_sync()
|
||||
self.configuration = Configuration(params)
|
||||
self.parameters = Parameters(params)
|
||||
self.handler.generate_configuration()
|
||||
self.generate_configuration_async()
|
||||
elif initcmd == self.handler.GENERATE_CONFIGURATION:
|
||||
params = self.get_parameters_sync()
|
||||
self.configuration.update(params)
|
||||
|
||||
Reference in New Issue
Block a user