summaryrefslogtreecommitdiffstats
path: root/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-12-06 12:03:51 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-12-06 12:03:51 +0000
commit18baf8f89cbef4a9e965c6319f6a01b9cd7166bf (patch)
tree9fe079a24bd7b71754d4ff4d552e8cef0c79ac10 /lib/bb/cooker.py
parent08f4da09006c75e0df862bf839a7687a691284e4 (diff)
downloadbitbake-18baf8f89cbef4a9e965c6319f6a01b9cd7166bf.tar.gz
cooker.py: Pass the task to run to tryBuild directly, don't use self.configuration.cmd (From Rob Bradford in Poky)
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r--lib/bb/cooker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index b539fb28d..c67bdaef9 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -199,7 +199,7 @@ class BBCooker:
bb.event.fire(bb.event.PkgFailed(item, the_data))
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)
@@ -213,7 +213,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):