xtensa-build-zephyr.py: require zephyr.strip

Make CONFIG_BUILD_OUTPUT_STRIPPED mandatory so we can always compare
builds. It makes practically zero build space and time difference and
has huge reproductibility value, see discussion in
https://github.com/zephyrproject-rtos/zephyr/pull/51954

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2023-01-19 16:42:34 -08:00 committed by Kai Vehmanen
parent 35dda2ae27
commit cc00c57057
1 changed files with 1 additions and 1 deletions

View File

@ -767,7 +767,7 @@ def install_platform(platform, sof_platform_output_dir):
# CONFIG_BUILD_OUTPUT_STRIPPED # CONFIG_BUILD_OUTPUT_STRIPPED
# Renaming ELF files highlights the workaround below that strips the .comment section # Renaming ELF files highlights the workaround below that strips the .comment section
InstFile(BIN_NAME + ".strip", renameTo=f"stripped-{BIN_NAME}.elf", optional=True), InstFile(BIN_NAME + ".strip", renameTo=f"stripped-{BIN_NAME}.elf"),
# Not every platform has intermediate rimage modules # Not every platform has intermediate rimage modules
InstFile("main-stripped.mod", renameTo="stripped-main.elf", optional=True), InstFile("main-stripped.mod", renameTo="stripped-main.elf", optional=True),