From c790192322c9c3ed98b13395d4980d88d394c3ff Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Fri, 24 Oct 2008 16:54:35 +0100 Subject: 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 --- bitbake-dev/lib/bb/cooker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake-dev/lib/bb/cooker.py') diff --git a/bitbake-dev/lib/bb/cooker.py b/bitbake-dev/lib/bb/cooker.py index 01537ab2f..5e3cccbdb 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): -- cgit v1.2.3