aboutsummaryrefslogtreecommitdiffstats
path: root/bin/bitbake
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-12-22 22:57:45 +0000
committerChris Larson <clarson@kergoth.com>2004-12-22 22:57:45 +0000
commit5854acd91e2cecbbfa9cc1b8d6c45c3e55820b6e (patch)
treef664ee30e4b31f374e37f739fdc1d8165de2235d /bin/bitbake
parent4fb6b2de51c7296041a4d43caa0a90a8319ceb8e (diff)
downloadbitbake-5854acd91e2cecbbfa9cc1b8d6c45c3e55820b6e.tar.gz
Apply patch from Richard Purdie to fix the --force support in the bitbake script.
Diffstat (limited to 'bin/bitbake')
-rwxr-xr-xbin/bitbake2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/bitbake b/bin/bitbake
index 31ffae38c..1acb33563 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -551,6 +551,8 @@ def executeOneBB( fn ):
bb.event.fire(bb.event.PkgStarted(name, d))
try:
__stats["attempt"] += 1
+ if make.options.force:
+ bb.data.setVarFlag('do_%s' % make.options.cmd, 'force', 1, d)
if not make.options.dry_run:
bb.build.exec_task('do_%s' % make.options.cmd, d)
bb.event.fire(bb.event.PkgSucceeded(name, d))