summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/build.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 43790a658a..1bda5d0da4 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -505,10 +505,13 @@ def make_stamp(task, d, file_name = None):
505 """ 505 """
506 cleanmask = stamp_cleanmask_internal(task, d, file_name) 506 cleanmask = stamp_cleanmask_internal(task, d, file_name)
507 for mask in cleanmask: 507 for mask in cleanmask:
508 # Preserve sigdata files in the stamps directory
509 for name in glob.glob(mask): 508 for name in glob.glob(mask):
509 # Preserve sigdata files in the stamps directory
510 if "sigdata" in name: 510 if "sigdata" in name:
511 continue 511 continue
512 # Preserve taint files in the stamps directory
513 if name.endswith('.taint'):
514 continue
512 os.unlink(name) 515 os.unlink(name)
513 516
514 stamp = stamp_internal(task, d, file_name) 517 stamp = stamp_internal(task, d, file_name)