bitbake/runqueue.py: Fix del_stamp calls and -f option to bitbake with the BasicHash siggen code
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
2bd6e7ce9c
commit
48e567bb47
|
@ -573,11 +573,6 @@ class RunQueueData:
|
|||
fn = taskData.fn_index[fnid]
|
||||
self.target_pairs.append((fn, target[1]))
|
||||
|
||||
# Remove stamps for targets if force mode active
|
||||
if self.cooker.configuration.force:
|
||||
logger.verbose("Remove stamp %s, %s", target[1], fn)
|
||||
bb.build.del_stamp(target[1], self.dataCache, fn)
|
||||
|
||||
if fnid in taskData.failed_fnids:
|
||||
continue
|
||||
|
||||
|
@ -724,6 +719,12 @@ class RunQueueData:
|
|||
|
||||
self.hashdata = hashdata
|
||||
|
||||
# Remove stamps for targets if force mode active
|
||||
if self.cooker.configuration.force:
|
||||
for (fn, target) in self.target_pairs:
|
||||
logger.verbose("Remove stamp %s, %s", target, fn)
|
||||
bb.build.del_stamp(target, self.dataCache, fn)
|
||||
|
||||
return len(self.runq_fnid)
|
||||
|
||||
def dump_data(self, taskQueue):
|
||||
|
|
Loading…
Reference in New Issue