summaryrefslogtreecommitdiff
path: root/bitbake-dev/lib/bb/command.py
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2008-10-24 16:22:19 +0100
committerRob Bradford <rob@linux.intel.com>2008-10-27 10:19:54 +0000
commit2684070ac631787171a06926d324391756e6956b (patch)
tree25246af1cb186f8d2d0a26ffb33c52a45ed3f31b /bitbake-dev/lib/bb/command.py
parentacdff2b1542a3e6a333fa2c58a8a64dcb7b86808 (diff)
downloadopenembedded-core-2684070ac631787171a06926d324391756e6956b.tar.gz
openembedded-core-2684070ac631787171a06926d324391756e6956b.tar.bz2
openembedded-core-2684070ac631787171a06926d324391756e6956b.tar.xz
openembedded-core-2684070ac631787171a06926d324391756e6956b.zip
bitbake-dev: Include target/command (from -c) in "buildTargets" command
This allows a UI to read / control which task for the given targets is used. This makes it more consistent with the "buildFile" command.
Diffstat (limited to 'bitbake-dev/lib/bb/command.py')
-rw-r--r--bitbake-dev/lib/bb/command.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake-dev/lib/bb/command.py b/bitbake-dev/lib/bb/command.py
index 0d4ef4256..5885b375a 100644
--- a/bitbake-dev/lib/bb/command.py
+++ b/bitbake-dev/lib/bb/command.py
@@ -155,8 +155,9 @@ 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):
"""