summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-04-09 14:13:45 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-10 23:05:22 (GMT)
commit62e5a4df09fb8d244bc4d9aac0f1e6af6e692b32 (patch)
tree9603bffcb17a655e9451ddad606a294c5914a749
parent655476f9d1ea5c81493e16335a4fb42cc898383d (diff)
downloadpoky-62e5a4df09fb8d244bc4d9aac0f1e6af6e692b32.tar.gz
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>
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index 10f1ff3..3a08330 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -387,6 +387,9 @@ class Builder(gtk.Window):
387 def cancel_build_sync(self, force=False): 387 def cancel_build_sync(self, force=False):
388 self.handler.cancel_build(force) 388 self.handler.cancel_build(force)
389 389
390 def generate_configuration_async(self):
391 self.handler.generate_configuration()
392
390 def load_template(self, path): 393 def load_template(self, path):
391 self.template = TemplateMgr() 394 self.template = TemplateMgr()
392 self.template.load(path) 395 self.template.load(path)
@@ -519,7 +522,7 @@ class Builder(gtk.Window):
519 params = self.get_parameters_sync() 522 params = self.get_parameters_sync()
520 self.configuration = Configuration(params) 523 self.configuration = Configuration(params)
521 self.parameters = Parameters(params) 524 self.parameters = Parameters(params)
522 self.handler.generate_configuration() 525 self.generate_configuration_async()
523 elif initcmd == self.handler.GENERATE_CONFIGURATION: 526 elif initcmd == self.handler.GENERATE_CONFIGURATION:
524 params = self.get_parameters_sync() 527 params = self.get_parameters_sync()
525 self.configuration.update(params) 528 self.configuration.update(params)