aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-05 15:04:06 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-16 12:31:19 +0100
commit90db9f30749b3f93a6c7d503af544ee8e0ca1728 (patch)
treec287031745acc56a2753eb867c1a0bb773393659 /bitbake/lib/bb/cooker.py
parent2fa0c30375586a61193f3ee1dea308fbc0fd5eb1 (diff)
downloadopenembedded-core-contrib-90db9f30749b3f93a6c7d503af544ee8e0ca1728.tar.gz
bitbake: Remove two layers of unnecessary functions from task execution
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py32
1 files changed, 0 insertions, 32 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 488bc610d2..52a402cd91 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -162,38 +162,6 @@ class BBCooker:
return self.command.runAsyncCommand()
- def tryBuildPackage(self, fn, item, task, the_data):
- """
- Build one task of a package, optionally build following task depends
- """
- try:
- if not self.configuration.dry_run:
- bb.build.exec_task('do_%s' % task, the_data)
- return True
- except bb.build.FuncFailed:
- bb.msg.error(bb.msg.domain.Build, "task stack execution failed")
- raise
- except bb.build.EventException as e:
- event = e.args[1]
- bb.msg.error(bb.msg.domain.Build, "%s event exception, aborting" % bb.event.getName(event))
- raise
-
- def tryBuild(self, fn, task):
- """
- Build a provider and its dependencies.
- build_depends is a list of previous build dependencies (not runtime)
- If build_depends is empty, we're dealing with a runtime depends
- """
-
- the_data = self.bb_cache.loadDataFull(fn, self.configuration.data)
-
- item = self.status.pkg_fn[fn]
-
- #if bb.build.stamp_is_current('do_%s' % self.configuration.cmd, the_data):
- # return True
-
- return self.tryBuildPackage(fn, item, task, the_data)
-
def showVersions(self):
# Need files parsed