diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-06 12:57:17 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-06 12:57:17 +0000 |
commit | f7d2413939ba15b024a853c960c27d22a4a3ac4e (patch) | |
tree | 8a4e489ea2b2329c3208e04e0bdeccb0d47a4e4e /lib/bb/command.py | |
parent | a59037d9b5baecfdf389a6d57712ea709d0b1ff6 (diff) | |
download | bitbake-f7d2413939ba15b024a853c960c27d22a4a3ac4e.tar.gz |
Pass around the tasks to execute rather than using magic variables. Also use the empty_environment() function to clear the environment
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r-- | lib/bb/command.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py index 7cee1d5d3..f86e0f191 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -146,16 +146,18 @@ class CommandsAsync: Build a set of targets """ pkgs_to_build = params[0] + task = params[1] - command.cooker.buildTargets(pkgs_to_build) + command.cooker.buildTargets(pkgs_to_build, task) def generateDepTreeEvent(self, command, params): """ 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): @@ -163,8 +165,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): |