mirror of https://github.com/thesofproject/sof.git
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:
parent
35dda2ae27
commit
cc00c57057
|
@ -767,7 +767,7 @@ def install_platform(platform, sof_platform_output_dir):
|
|||
|
||||
# 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", optional=True),
|
||||
InstFile(BIN_NAME + ".strip", renameTo=f"stripped-{BIN_NAME}.elf"),
|
||||
|
||||
# Not every platform has intermediate rimage modules
|
||||
InstFile("main-stripped.mod", renameTo="stripped-main.elf", optional=True),
|
||||
|
|
Loading…
Reference in New Issue