Skip to content

Commit

Permalink
xtensa-build-zephyr.py: checksum newly generated rimage_config.toml file
Browse files Browse the repository at this point in the history
Add new file generated since commit cf9a444 ("toml: modularise TOML
configuration")

Optional because it's not generated for all platforms.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb authored and kv2019i committed Mar 11, 2024
1 parent b97f81a commit 469c0a7
Showing 1 changed file with 5 additions and 0 deletions.
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

0 comments on commit 469c0a7

Please sign in to comment.