diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index a61cca014b..216b4065ec 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -59,7 +59,7 @@ class HobHandler(gobject.GObject): | |||
59 | (gobject.TYPE_PYOBJECT,)), | 59 | (gobject.TYPE_PYOBJECT,)), |
60 | } | 60 | } |
61 | 61 | ||
62 | (PARSE_CONFIG, GENERATE_CONFIGURATION, GENERATE_RECIPES, GENERATE_PACKAGES, GENERATE_IMAGE, POPULATE_PACKAGEINFO) = range(6) | 62 | (GENERATE_CONFIGURATION, GENERATE_RECIPES, GENERATE_PACKAGES, GENERATE_IMAGE, POPULATE_PACKAGEINFO) = range(5) |
63 | (SUB_PATH_LAYERS, SUB_FILES_DISTRO, SUB_FILES_MACH, SUB_FILES_SDKMACH, SUB_MATCH_CLASS, SUB_PARSE_CONFIG, SUB_GNERATE_TGTS, SUB_GENERATE_PKGINFO, SUB_BUILD_RECIPES, SUB_BUILD_IMAGE) = range(10) | 63 | (SUB_PATH_LAYERS, SUB_FILES_DISTRO, SUB_FILES_MACH, SUB_FILES_SDKMACH, SUB_MATCH_CLASS, SUB_PARSE_CONFIG, SUB_GNERATE_TGTS, SUB_GENERATE_PKGINFO, SUB_BUILD_RECIPES, SUB_BUILD_IMAGE) = range(10) |
64 | 64 | ||
65 | def __init__(self, server, recipe_model, package_model): | 65 | def __init__(self, server, recipe_model, package_model): |
@@ -219,14 +219,6 @@ class HobHandler(gobject.GObject): | |||
219 | def init_cooker(self): | 219 | def init_cooker(self): |
220 | self.server.runCommand(["initCooker"]) | 220 | self.server.runCommand(["initCooker"]) |
221 | 221 | ||
222 | def parse_config(self): | ||
223 | self.commands_async.append(self.SUB_PARSE_CONFIG) | ||
224 | self.run_next_command(self.PARSE_CONFIG) | ||
225 | |||
226 | def parse_generate_configuration(self): | ||
227 | self.commands_async.append(self.SUB_PARSE_CONFIG) | ||
228 | self.generate_configuration() | ||
229 | |||
230 | def set_extra_inherit(self, bbclass): | 222 | def set_extra_inherit(self, bbclass): |
231 | inherits = self.server.runCommand(["getVariable", "INHERIT"]) or "" | 223 | inherits = self.server.runCommand(["getVariable", "INHERIT"]) or "" |
232 | inherits = inherits + " " + bbclass | 224 | inherits = inherits + " " + bbclass |
@@ -312,6 +304,7 @@ class HobHandler(gobject.GObject): | |||
312 | self.run_next_command(self.POPULATE_PACKAGEINFO) | 304 | self.run_next_command(self.POPULATE_PACKAGEINFO) |
313 | 305 | ||
314 | def generate_configuration(self): | 306 | def generate_configuration(self): |
307 | self.commands_async.append(self.SUB_PARSE_CONFIG) | ||
315 | self.commands_async.append(self.SUB_PATH_LAYERS) | 308 | self.commands_async.append(self.SUB_PATH_LAYERS) |
316 | self.commands_async.append(self.SUB_FILES_DISTRO) | 309 | self.commands_async.append(self.SUB_FILES_DISTRO) |
317 | self.commands_async.append(self.SUB_FILES_MACH) | 310 | self.commands_async.append(self.SUB_FILES_MACH) |