diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-03-23 13:55:10 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-25 12:23:30 +0100 |
commit | 09b16096f622feaaaccb0f14754409888f50e4db (patch) | |
tree | 24dcb386910f2d836d9d378d68db36e92c44a386 /bitbake/lib/bb/ui | |
parent | 1c19181599c41d8f0bd7f06efc654fe61c3d0bb1 (diff) | |
download | poky-09b16096f622feaaaccb0f14754409888f50e4db.tar.gz |
Hob: Remove unnecessary PARSE_BBFILES command
The ASYNC commands can automatically detect if BB file parsing is needed.
Therefore remove this explicit parsing command.
(Bitbake rev: 73692cb55d7d5aaedfbcf6b8a24ab435a1d25a9e)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index 07cc039371..664f866a4a 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -62,7 +62,7 @@ class HobHandler(gobject.GObject): | |||
62 | (gobject.TYPE_PYOBJECT,)), | 62 | (gobject.TYPE_PYOBJECT,)), |
63 | } | 63 | } |
64 | 64 | ||
65 | (CFG_AVAIL_LAYERS, CFG_PATH_LAYERS, CFG_FILES_DISTRO, CFG_FILES_MACH, CFG_FILES_SDKMACH, FILES_MATCH_CLASS, PARSE_CONFIG, PARSE_BBFILES, GENERATE_TGTS, GENERATE_PACKAGEINFO, BUILD_TARGET_RECIPES, BUILD_TARGET_IMAGE, CMD_END) = range(13) | 65 | (CFG_AVAIL_LAYERS, CFG_PATH_LAYERS, CFG_FILES_DISTRO, CFG_FILES_MACH, CFG_FILES_SDKMACH, FILES_MATCH_CLASS, PARSE_CONFIG, GENERATE_TGTS, GENERATE_PACKAGEINFO, BUILD_TARGET_RECIPES, BUILD_TARGET_IMAGE, CMD_END) = range(12) |
66 | (LAYERS_REFRESH, GENERATE_RECIPES, GENERATE_PACKAGES, GENERATE_IMAGE, POPULATE_PACKAGEINFO) = range(5) | 66 | (LAYERS_REFRESH, GENERATE_RECIPES, GENERATE_PACKAGES, GENERATE_IMAGE, POPULATE_PACKAGEINFO) = range(5) |
67 | 67 | ||
68 | def __init__(self, server, recipe_model, package_model): | 68 | def __init__(self, server, recipe_model, package_model): |
@@ -136,8 +136,6 @@ class HobHandler(gobject.GObject): | |||
136 | self.server.runCommand(["findFilesMatchingInDir", "rootfs_", "classes"]) | 136 | self.server.runCommand(["findFilesMatchingInDir", "rootfs_", "classes"]) |
137 | elif next_command == self.PARSE_CONFIG: | 137 | elif next_command == self.PARSE_CONFIG: |
138 | self.server.runCommand(["parseConfigurationFiles", "", ""]) | 138 | self.server.runCommand(["parseConfigurationFiles", "", ""]) |
139 | elif next_command == self.PARSE_BBFILES: | ||
140 | self.server.runCommand(["parseFiles"]) | ||
141 | elif next_command == self.GENERATE_TGTS: | 139 | elif next_command == self.GENERATE_TGTS: |
142 | self.server.runCommand(["generateTargetsTree", "classes/image.bbclass", []]) | 140 | self.server.runCommand(["generateTargetsTree", "classes/image.bbclass", []]) |
143 | elif next_command == self.GENERATE_PACKAGEINFO: | 141 | elif next_command == self.GENERATE_PACKAGEINFO: |
@@ -345,7 +343,6 @@ class HobHandler(gobject.GObject): | |||
345 | targets.extend(tgts) | 343 | targets.extend(tgts) |
346 | self.recipe_queue = targets | 344 | self.recipe_queue = targets |
347 | self.commands_async.append(self.PARSE_CONFIG) | 345 | self.commands_async.append(self.PARSE_CONFIG) |
348 | self.commands_async.append(self.PARSE_BBFILES) | ||
349 | self.commands_async.append(self.BUILD_TARGET_RECIPES) | 346 | self.commands_async.append(self.BUILD_TARGET_RECIPES) |
350 | self.run_next_command(self.GENERATE_PACKAGES) | 347 | self.run_next_command(self.GENERATE_PACKAGES) |
351 | 348 | ||
@@ -353,7 +350,6 @@ class HobHandler(gobject.GObject): | |||
353 | self.package_queue = tgts | 350 | self.package_queue = tgts |
354 | self.toolchain_build = toolchain_build | 351 | self.toolchain_build = toolchain_build |
355 | self.commands_async.append(self.PARSE_CONFIG) | 352 | self.commands_async.append(self.PARSE_CONFIG) |
356 | self.commands_async.append(self.PARSE_BBFILES) | ||
357 | self.commands_async.append(self.BUILD_TARGET_IMAGE) | 353 | self.commands_async.append(self.BUILD_TARGET_IMAGE) |
358 | self.run_next_command(self.GENERATE_IMAGE) | 354 | self.run_next_command(self.GENERATE_IMAGE) |
359 | 355 | ||