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 | openembedded-core-790ed683565e56ef513bad568de1b15d801bfe7b.tar.gz openembedded-core-790ed683565e56ef513bad568de1b15d801bfe7b.tar.bz2 openembedded-core-790ed683565e56ef513bad568de1b15d801bfe7b.tar.xz openembedded-core-790ed683565e56ef513bad568de1b15d801bfe7b.zip |
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 5885b375a..b94756649 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): |