diff options
author | Rob Bradford <rob@linux.intel.com> | 2008-10-24 17:22:20 +0100 |
---|---|---|
committer | Rob Bradford <rob@linux.intel.com> | 2008-10-27 10:19:54 +0000 |
commit | 790ed683565e56ef513bad568de1b15d801bfe7b (patch) | |
tree | 04bbd39860cc5d6e8267b8c7f587b1e0f91d4267 /bitbake-dev/lib/bb/command.py | |
parent | 22a326547dfd80b585fa7e4ecedcdb25d54a5a86 (diff) | |
download | poky-790ed683565e56ef513bad568de1b15d801bfe7b.tar.gz |
bitbake-dev: Remove implicit task from generateDepTree/generateDotGraphFiles
Remove the implicit (from configuration.cmd) command/task for these events and
instead use a parameter so that the task is given explicitly.
Diffstat (limited to 'bitbake-dev/lib/bb/command.py')
-rw-r--r-- | bitbake-dev/lib/bb/command.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake-dev/lib/bb/command.py b/bitbake-dev/lib/bb/command.py index 5885b375ab..b94756649b 100644 --- a/bitbake-dev/lib/bb/command.py +++ b/bitbake-dev/lib/bb/command.py | |||
@@ -164,8 +164,9 @@ class CommandsAsync: | |||
164 | Generate an event containing the dependency information | 164 | Generate an event containing the dependency information |
165 | """ | 165 | """ |
166 | pkgs_to_build = params[0] | 166 | pkgs_to_build = params[0] |
167 | task = params[1] | ||
167 | 168 | ||
168 | command.cooker.generateDepTreeEvent(pkgs_to_build) | 169 | command.cooker.generateDepTreeEvent(pkgs_to_build, task) |
169 | command.finishAsyncCommand() | 170 | command.finishAsyncCommand() |
170 | 171 | ||
171 | def generateDotGraph(self, command, params): | 172 | def generateDotGraph(self, command, params): |
@@ -173,8 +174,9 @@ class CommandsAsync: | |||
173 | Dump dependency information to disk as .dot files | 174 | Dump dependency information to disk as .dot files |
174 | """ | 175 | """ |
175 | pkgs_to_build = params[0] | 176 | pkgs_to_build = params[0] |
177 | task = params[1] | ||
176 | 178 | ||
177 | command.cooker.generateDotGraphFiles(pkgs_to_build) | 179 | command.cooker.generateDotGraphFiles(pkgs_to_build, task) |
178 | command.finishAsyncCommand() | 180 | command.finishAsyncCommand() |
179 | 181 | ||
180 | def showVersions(self, command, params): | 182 | def showVersions(self, command, params): |