diff --git a/scripts/xtensa-build-zephyr.py b/scripts/xtensa-build-zephyr.py index 6c0a298fcdc8..15b37c072ee0 100755 --- a/scripts/xtensa-build-zephyr.py +++ b/scripts/xtensa-build-zephyr.py @@ -970,6 +970,10 @@ class InstFile: InstFile(BIN_NAME + ".lst", txt=True, optional=True), InstFile(BIN_NAME + ".map", txt=True), + # Optional because it's not generated for all platforms. + InstFile(f"misc/generated/rimage_config.toml", "generated_rimage_config.toml", + optional=True, gzip=False, txt=True), + # CONFIG_BUILD_OUTPUT_STRIPPED # Renaming ELF files highlights the workaround below that strips the .comment section InstFile(BIN_NAME + ".strip", renameTo=f"stripped-{BIN_NAME}.elf"), @@ -1039,6 +1043,7 @@ class InstFile: '*version*.h', '*configs.c', # deterministic unlike .config + '*.toml', # rimage '*.strip', '*stripped*', # stripped ELF files are reproducible 'boot.mod', # no debug section -> no need to strip this ELF BIN_NAME + '.lst', # objdump --disassemble