From 790ed683565e56ef513bad568de1b15d801bfe7b Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Fri, 24 Oct 2008 17:22:20 +0100 Subject: 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. --- bitbake-dev/lib/bb/command.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bitbake-dev/lib/bb/command.py') 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: 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): -- cgit v1.2.3