]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake-dev: Make the "buildFile" command use the task parameter
authorRob Bradford <rob@linux.intel.com>
Fri, 24 Oct 2008 15:58:59 +0000 (16:58 +0100)
committerRob Bradford <rob@linux.intel.com>
Mon, 27 Oct 2008 10:19:54 +0000 (10:19 +0000)
The "buildFile" command has a task parameter use it place of
self.configuration.cmd when adding to the runqueue.

bitbake-dev/lib/bb/cooker.py

index 5e3cccbdb66f4d5534a2ddf2cb3d90e5a84bb7db..0fed1ba842021b194b5ca0cfbafbeac96b1528c7 100644 (file)
@@ -650,7 +650,7 @@ class BBCooker:
         bb.event.fire(bb.event.BuildStarted(buildname, [item], self.configuration.event_data))
 
         # Execute the runqueue
-        runlist = [[item, "do_%s" % self.configuration.cmd]]
+        runlist = [[item, "do_%s" % task]]
 
         rq = bb.runqueue.RunQueue(self, self.configuration.data, self.status, taskdata, runlist)