diff --git a/scripts/xtensa-build-zephyr.py b/scripts/xtensa-build-zephyr.py index 529c1e85045e..77a43b73fdb3 100755 --- a/scripts/xtensa-build-zephyr.py +++ b/scripts/xtensa-build-zephyr.py @@ -761,6 +761,10 @@ class InstFile: # Fail if one of these is missing InstFile(".config", "config", txt=True), InstFile("misc/generated/configs.c", "generated_configs.c", txt=True), + InstFile("include/generated/version.h", "zephyr_version.h", + gzip=False, txt=True), + InstFile("include/generated/sof_versions.h", "sof_versions.h", + gzip=False, txt=True), InstFile(BIN_NAME + ".elf"), InstFile(BIN_NAME + ".lst", txt=True), InstFile(BIN_NAME + ".map", txt=True), @@ -821,7 +825,13 @@ class InstFile: BIN_NAME = 'zephyr' CHECKSUM_WANTED = [ - '*.ri', # Some .ri files have a non-deterministic signature, others not + # Some .ri files have a deterministic signature, others use + # a cryptographic salt. Even for the latter a checksum is still + # useful to match an artefact with a specific build log. + '*.ri', + 'dsp_basefw.bin', + + '*version*.h', '*configs.c', # deterministic unlike .config '*.strip', '*stripped*', # stripped ELF files are reproducible 'boot.mod', # no debug section -> no need to strip this ELF