diff options
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r-- | bitbake/lib/bb/build.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 85af42c684..8ff7fb2931 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -491,9 +491,11 @@ def stamp_cleanmask_internal(taskname, d, file_name): | |||
491 | extrainfo = d.getVarFlag(taskflagname, 'stamp-extra-info', True) or "" | 491 | extrainfo = d.getVarFlag(taskflagname, 'stamp-extra-info', True) or "" |
492 | 492 | ||
493 | if not stamp: | 493 | if not stamp: |
494 | return | 494 | return [] |
495 | |||
496 | cleanmask = bb.parse.siggen.stampcleanmask(stamp, file_name, taskname, extrainfo) | ||
495 | 497 | ||
496 | return bb.parse.siggen.stampcleanmask(stamp, file_name, taskname, extrainfo) | 498 | return [cleanmask, cleanmask.replace(taskflagname, taskflagname + "_setscene")] |
497 | 499 | ||
498 | def make_stamp(task, d, file_name = None): | 500 | def make_stamp(task, d, file_name = None): |
499 | """ | 501 | """ |
@@ -501,8 +503,8 @@ def make_stamp(task, d, file_name = None): | |||
501 | (d can be a data dict or dataCache) | 503 | (d can be a data dict or dataCache) |
502 | """ | 504 | """ |
503 | cleanmask = stamp_cleanmask_internal(task, d, file_name) | 505 | cleanmask = stamp_cleanmask_internal(task, d, file_name) |
504 | if cleanmask: | 506 | for mask in cleanmask: |
505 | bb.utils.remove(cleanmask) | 507 | bb.utils.remove(mask) |
506 | 508 | ||
507 | stamp = stamp_internal(task, d, file_name) | 509 | stamp = stamp_internal(task, d, file_name) |
508 | # Remove the file and recreate to force timestamp | 510 | # Remove the file and recreate to force timestamp |