Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xtensa-build-zephyr.py: checksum newly generated rimage_config.toml file #8921

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions scripts/xtensa-build-zephyr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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
Expand Down
Loading