summaryrefslogtreecommitdiff
path: root/bitbake-dev/lib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-10-28 22:15:06 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-10-28 22:15:06 +0000
commitb296ae263ce12294a7264ed09b987acda73e4f67 (patch)
tree9c0dfd5439d9d27f74b36f9731afb01c0c018531 /bitbake-dev/lib
parentdb140d9ce0a5918cab2615862402c07ef81c6944 (diff)
downloadopenembedded-core-b296ae263ce12294a7264ed09b987acda73e4f67.tar.gz
openembedded-core-b296ae263ce12294a7264ed09b987acda73e4f67.tar.bz2
openembedded-core-b296ae263ce12294a7264ed09b987acda73e4f67.tar.xz
openembedded-core-b296ae263ce12294a7264ed09b987acda73e4f67.zip
bitbake: Add tryaltconfigs option to disable the alternative configuration attempts and make the 'continue' more aggresive
Diffstat (limited to 'bitbake-dev/lib')
-rw-r--r--bitbake-dev/lib/bb/runqueue.py2
-rw-r--r--bitbake-dev/lib/bb/taskdata.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/bitbake-dev/lib/bb/runqueue.py b/bitbake-dev/lib/bb/runqueue.py
index 1c911ef0c..01452d2f3 100644
--- a/bitbake-dev/lib/bb/runqueue.py
+++ b/bitbake-dev/lib/bb/runqueue.py
@@ -869,7 +869,7 @@ class RunQueue:
self.finish_runqueue()
if self.state is runQueueFailed:
- if self.taskData.abort:
+ if not self.taskData.tryaltconfigs:
raise bb.runqueue.TaskFailure(self.failed_fnids)
for fnid in self.failed_fnids:
self.taskData.fail_fnid(fnid)
diff --git a/bitbake-dev/lib/bb/taskdata.py b/bitbake-dev/lib/bb/taskdata.py
index 566614ee6..782dfb0b7 100644
--- a/bitbake-dev/lib/bb/taskdata.py
+++ b/bitbake-dev/lib/bb/taskdata.py
@@ -30,7 +30,7 @@ class TaskData:
"""
BitBake Task Data implementation
"""
- def __init__(self, abort = True):
+ def __init__(self, abort = True, tryaltconfigs = False):
self.build_names_index = []
self.run_names_index = []
self.fn_index = []
@@ -57,6 +57,7 @@ class TaskData:
self.failed_fnids = []
self.abort = abort
+ self.tryaltconfigs = tryaltconfigs
def getbuild_id(self, name):
"""