diff options
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r-- | bitbake/lib/bb/build.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 32022d8085..dcd42ef8cf 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -506,7 +506,7 @@ def exec_task(fn, task, d, profile = False): | |||
506 | event.fire(failedevent, d) | 506 | event.fire(failedevent, d) |
507 | return 1 | 507 | return 1 |
508 | 508 | ||
509 | def stamp_internal(taskname, d, file_name): | 509 | def stamp_internal(taskname, d, file_name, baseonly=False): |
510 | """ | 510 | """ |
511 | Internal stamp helper function | 511 | Internal stamp helper function |
512 | Makes sure the stamp directory exists | 512 | Makes sure the stamp directory exists |
@@ -527,6 +527,9 @@ def stamp_internal(taskname, d, file_name): | |||
527 | file_name = d.getVar('BB_FILENAME', True) | 527 | file_name = d.getVar('BB_FILENAME', True) |
528 | extrainfo = d.getVarFlag(taskflagname, 'stamp-extra-info', True) or "" | 528 | extrainfo = d.getVarFlag(taskflagname, 'stamp-extra-info', True) or "" |
529 | 529 | ||
530 | if baseonly: | ||
531 | return stamp | ||
532 | |||
530 | if not stamp: | 533 | if not stamp: |
531 | return | 534 | return |
532 | 535 | ||
@@ -591,8 +594,9 @@ def make_stamp(task, d, file_name = None): | |||
591 | # If we're in task context, write out a signature file for each task | 594 | # If we're in task context, write out a signature file for each task |
592 | # as it completes | 595 | # as it completes |
593 | if not task.endswith("_setscene") and task != "do_setscene" and not file_name: | 596 | if not task.endswith("_setscene") and task != "do_setscene" and not file_name: |
597 | stampbase = stamp_internal(task, d, None, True) | ||
594 | file_name = d.getVar('BB_FILENAME', True) | 598 | file_name = d.getVar('BB_FILENAME', True) |
595 | bb.parse.siggen.dump_sigtask(file_name, task, d.getVar('STAMP', True), True) | 599 | bb.parse.siggen.dump_sigtask(file_name, task, stampbase, True) |
596 | 600 | ||
597 | def del_stamp(task, d, file_name = None): | 601 | def del_stamp(task, d, file_name = None): |
598 | """ | 602 | """ |