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, 7 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index fca4401420..66dffac223 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -65,7 +65,7 @@ class HobHandler(gobject.GObject): | |||
65 | gobject.TYPE_STRING,)), | 65 | gobject.TYPE_STRING,)), |
66 | } | 66 | } |
67 | 67 | ||
68 | (CFG_PATH_LOCAL, CFG_PATH_HOB, CFG_PATH_LAYERS, CFG_FILES_DISTRO, CFG_FILES_MACH, CFG_FILES_SDK, FILES_MATCH_CLASS, GENERATE_TGTS, REPARSE_FILES, BUILD_IMAGE) = range(10) | 68 | (CFG_PATH_LOCAL, CFG_PATH_PRE, CFG_PATH_POST, CFG_PATH_LAYERS, CFG_FILES_DISTRO, CFG_FILES_MACH, CFG_FILES_SDK, FILES_MATCH_CLASS, GENERATE_TGTS, REPARSE_FILES, BUILD_IMAGE) = range(11) |
69 | 69 | ||
70 | def __init__(self, taskmodel, server): | 70 | def __init__(self, taskmodel, server): |
71 | gobject.GObject.__init__(self) | 71 | gobject.GObject.__init__(self) |
@@ -90,9 +90,12 @@ class HobHandler(gobject.GObject): | |||
90 | self.generating = True | 90 | self.generating = True |
91 | 91 | ||
92 | if self.current_command == self.CFG_PATH_LOCAL: | 92 | if self.current_command == self.CFG_PATH_LOCAL: |
93 | self.current_command = self.CFG_PATH_HOB | 93 | self.current_command = self.CFG_PATH_PRE |
94 | self.server.runCommand(["findConfigFilePath", "hob.local.conf"]) | 94 | self.server.runCommand(["findConfigFilePath", "hob-pre.conf"]) |
95 | elif self.current_command == self.CFG_PATH_HOB: | 95 | elif self.current_command == self.CFG_PATH_PRE: |
96 | self.current_command = self.CFG_PATH_POST | ||
97 | self.server.runCommand(["findConfigFilePath", "hob-post.conf"]) | ||
98 | elif self.current_command == self.CFG_PATH_POST: | ||
96 | self.current_command = self.CFG_PATH_LAYERS | 99 | self.current_command = self.CFG_PATH_LAYERS |
97 | self.server.runCommand(["findConfigFilePath", "bblayers.conf"]) | 100 | self.server.runCommand(["findConfigFilePath", "bblayers.conf"]) |
98 | elif self.current_command == self.CFG_PATH_LAYERS: | 101 | elif self.current_command == self.CFG_PATH_LAYERS: |