summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-04-09 22:13:45 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-11 00:05:22 +0100
commit62e5a4df09fb8d244bc4d9aac0f1e6af6e692b32 (patch)
tree9603bffcb17a655e9451ddad606a294c5914a749
parent655476f9d1ea5c81493e16335a4fb42cc898383d (diff)
downloadpoky-62e5a4df09fb8d244bc4d9aac0f1e6af6e692b32.tar.gz
poky-62e5a4df09fb8d244bc4d9aac0f1e6af6e692b32.tar.bz2
poky-62e5a4df09fb8d244bc4d9aac0f1e6af6e692b32.zip
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 10f1ff32c0..3a083307cb 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):
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)