summaryrefslogtreecommitdiff
path: root/bitbake-dev/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2008-10-24 16:54:35 +0100
committerRob Bradford <rob@linux.intel.com>2008-10-27 10:19:54 +0000
commitc790192322c9c3ed98b13395d4980d88d394c3ff (patch)
tree870909231bce3af4a8204802ca3579da59def9a5 /bitbake-dev/lib/bb/cooker.py
parent2684070ac631787171a06926d324391756e6956b (diff)
downloadopenembedded-core-c790192322c9c3ed98b13395d4980d88d394c3ff.tar.gz
openembedded-core-c790192322c9c3ed98b13395d4980d88d394c3ff.tar.bz2
openembedded-core-c790192322c9c3ed98b13395d4980d88d394c3ff.zip
bitbake-dev: Make the task a parameter of the "tryBuild" command
And switch the runqueue to use this rather than keeping it in the self.configuration.cmd variable
Diffstat (limited to 'bitbake-dev/lib/bb/cooker.py')
-rw-r--r--bitbake-dev/lib/bb/cooker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake-dev/lib/bb/cooker.py b/bitbake-dev/lib/bb/cooker.py
index 01537ab2f7..5e3cccbdb6 100644
--- a/bitbake-dev/lib/bb/cooker.py
+++ b/bitbake-dev/lib/bb/cooker.py
@@ -195,7 +195,7 @@ class BBCooker:
bb.msg.error(bb.msg.domain.Build, "%s event exception, aborting" % bb.event.getName(event))
raise
- def tryBuild(self, fn):
+ def tryBuild(self, fn, task):
"""
Build a provider and its dependencies.
build_depends is a list of previous build dependencies (not runtime)
@@ -209,7 +209,7 @@ class BBCooker:
#if bb.build.stamp_is_current('do_%s' % self.configuration.cmd, the_data):
# return True
- return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
+ return self.tryBuildPackage(fn, item, task, the_data)
def showVersions(self):