summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/runqueue.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 2ef2670da0..ec94b0f8ba 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -152,9 +152,9 @@ class RunQueue:
152 # Resolve Recursive Runtime Depends 152 # Resolve Recursive Runtime Depends
153 # Also includes all Build Depends (and their runtime depends) 153 # Also includes all Build Depends (and their runtime depends)
154 if 'recrdeptask' in task_deps and taskData.tasks_name[task] in task_deps['recrdeptask']: 154 if 'recrdeptask' in task_deps and taskData.tasks_name[task] in task_deps['recrdeptask']:
155 dep_seen = []
156 rdep_seen = []
157 for taskname in task_deps['recrdeptask'][taskData.tasks_name[task]].split(): 155 for taskname in task_deps['recrdeptask'][taskData.tasks_name[task]].split():
156 dep_seen = []
157 rdep_seen = []
158 for depid in taskData.depids[fnid]: 158 for depid in taskData.depids[fnid]:
159 add_recursive_build(depid) 159 add_recursive_build(depid)
160 for rdepid in taskData.rdepids[fnid]: 160 for rdepid in taskData.rdepids[fnid]:
@@ -203,6 +203,9 @@ class RunQueue:
203 if targetid not in taskData.build_targets: 203 if targetid not in taskData.build_targets:
204 continue 204 continue
205 205
206 if targetid in taskData.failed_deps:
207 continue
208
206 fnid = taskData.build_targets[targetid][0] 209 fnid = taskData.build_targets[targetid][0]
207 210
208 # Remove stamps for targets if force mode active 211 # Remove stamps for targets if force mode active
@@ -211,9 +214,6 @@ class RunQueue:
211 bb.msg.note(2, bb.msg.domain.RunQueue, "Remove stamp %s, %s" % (target[1], fn)) 214 bb.msg.note(2, bb.msg.domain.RunQueue, "Remove stamp %s, %s" % (target[1], fn))
212 bb.build.del_stamp(target[1], dataCache, fn) 215 bb.build.del_stamp(target[1], dataCache, fn)
213 216
214 if targetid in taskData.failed_deps:
215 continue
216
217 if fnid in taskData.failed_fnids: 217 if fnid in taskData.failed_fnids:
218 continue 218 continue
219 219
@@ -347,7 +347,7 @@ class RunQueue:
347 taskData.fail_fnid(fnid) 347 taskData.fail_fnid(fnid)
348 failures = failures + 1 348 failures = failures + 1
349 self.reset_runqueue() 349 self.reset_runqueue()
350 self.prepare_runqueue(cfgData, dataCache, taskData, runlist) 350 self.prepare_runqueue(cooker, cfgData, dataCache, taskData, runlist)
351 351
352 def execute_runqueue_internal(self, cooker, cfgData, dataCache, taskData): 352 def execute_runqueue_internal(self, cooker, cfgData, dataCache, taskData):
353 """ 353 """
@@ -369,7 +369,7 @@ class RunQueue:
369 369
370 if len(self.runq_fnid) == 0: 370 if len(self.runq_fnid) == 0:
371 # nothing to do 371 # nothing to do
372 return 372 return []
373 373
374 def sigint_handler(signum, frame): 374 def sigint_handler(signum, frame):
375 raise KeyboardInterrupt 375 raise KeyboardInterrupt