summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/build.py')
-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):
"""
cleanmask = stamp_cleanmask_internal(task, d, file_name)
for mask in cleanmask:
- # Preserve sigdata files in the stamps directory
for name in glob.glob(mask):
+ # Preserve sigdata files in the stamps directory
if "sigdata" in name:
continue
+ # Preserve taint files in the stamps directory
+ if name.endswith('.taint'):
+ continue
os.unlink(name)
stamp = stamp_internal(task, d, file_name)