diff options
Diffstat (limited to 'bitbake-dev/lib/bb/cooker.py')
-rw-r--r-- | bitbake-dev/lib/bb/cooker.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake-dev/lib/bb/cooker.py b/bitbake-dev/lib/bb/cooker.py index 339bb45ec1..01537ab2f7 100644 --- a/bitbake-dev/lib/bb/cooker.py +++ b/bitbake-dev/lib/bb/cooker.py | |||
@@ -151,7 +151,7 @@ class BBCooker: | |||
151 | bb.error("Please specify a package name for dependency graph generation.") | 151 | bb.error("Please specify a package name for dependency graph generation.") |
152 | else: | 152 | else: |
153 | if self.configuration.pkgs_to_build: | 153 | if self.configuration.pkgs_to_build: |
154 | self.commandlineAction = ["buildTargets", self.configuration.pkgs_to_build] | 154 | self.commandlineAction = ["buildTargets", self.configuration.pkgs_to_build, self.configuration.cmd] |
155 | else: | 155 | else: |
156 | self.commandlineAction = None | 156 | self.commandlineAction = None |
157 | bb.error("Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.") | 157 | bb.error("Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.") |
@@ -677,7 +677,7 @@ class BBCooker: | |||
677 | self.cookerIdle = False | 677 | self.cookerIdle = False |
678 | self.server.register_idle_function(buildFileIdle, rq) | 678 | self.server.register_idle_function(buildFileIdle, rq) |
679 | 679 | ||
680 | def buildTargets(self, targets): | 680 | def buildTargets(self, targets, task): |
681 | """ | 681 | """ |
682 | Attempt to build the targets specified | 682 | Attempt to build the targets specified |
683 | """ | 683 | """ |
@@ -721,7 +721,7 @@ class BBCooker: | |||
721 | runlist = [] | 721 | runlist = [] |
722 | for k in targets: | 722 | for k in targets: |
723 | taskdata.add_provider(localdata, self.status, k) | 723 | taskdata.add_provider(localdata, self.status, k) |
724 | runlist.append([k, "do_%s" % self.configuration.cmd]) | 724 | runlist.append([k, "do_%s" % task]) |
725 | taskdata.add_unresolved(localdata, self.status) | 725 | taskdata.add_unresolved(localdata, self.status) |
726 | 726 | ||
727 | rq = bb.runqueue.RunQueue(self, self.configuration.data, self.status, taskdata, runlist) | 727 | rq = bb.runqueue.RunQueue(self, self.configuration.data, self.status, taskdata, runlist) |