summaryrefslogtreecommitdiff
path: root/bitbake-dev/lib/bb/command.py
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2008-10-24 17:22:20 +0100
committerRob Bradford <rob@linux.intel.com>2008-10-27 10:19:54 +0000
commit790ed683565e56ef513bad568de1b15d801bfe7b (patch)
tree04bbd39860cc5d6e8267b8c7f587b1e0f91d4267 /bitbake-dev/lib/bb/command.py
parent22a326547dfd80b585fa7e4ecedcdb25d54a5a86 (diff)
downloadopenembedded-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.py6
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):