From d7dfa97f0d9fa1eaa88848cda2ead4d69ba5f7f3 Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Tue, 26 Dec 2023 23:19:07 +0000 Subject: [PATCH] xtensa-build-zephyr.py: checksum newly generated rimage_config.toml file Add new file generated since commit cf9a444bfc13 ("toml: modularise TOML configuration") Optional because it's not generated for all platforms. Signed-off-by: Marc Herbert --- scripts/xtensa-build-zephyr.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/xtensa-build-zephyr.py b/scripts/xtensa-build-zephyr.py index 8a1c8fafcb5f..2b07dea3631a 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