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.
This commit is contained in:
Rob Bradford
2008-10-24 17:22:20 +01:00
parent 22a326547d
commit 790ed68356
3 changed files with 12 additions and 10 deletions

View File

@@ -164,8 +164,9 @@ class CommandsAsync:
Generate an event containing the dependency information
"""
pkgs_to_build = params[0]
task = params[1]
command.cooker.generateDepTreeEvent(pkgs_to_build)
command.cooker.generateDepTreeEvent(pkgs_to_build, task)
command.finishAsyncCommand()
def generateDotGraph(self, command, params):
@@ -173,8 +174,9 @@ class CommandsAsync:
Dump dependency information to disk as .dot files
"""
pkgs_to_build = params[0]
task = params[1]
command.cooker.generateDotGraphFiles(pkgs_to_build)
command.cooker.generateDotGraphFiles(pkgs_to_build, task)
command.finishAsyncCommand()
def showVersions(self, command, params):