Skip to content
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