xtensa-build-zephyr.py: checksum autoconf.h instead of configs.c

autoconf.h has strings, configs.c has not.

We can do this now since this $BOARD_REVISION fix:

https://github.com/zephyrproject-rtos/zephyr/commit/811a74c0199f

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2024-03-15 00:34:34 +00:00 committed by Kai Vehmanen
parent 2df6d1b048
commit 12ad82a756
1 changed files with 2 additions and 2 deletions

View File

@ -961,7 +961,7 @@ def install_platform(platform, sof_output_dir, platf_build_environ):
installed_files = [
# Fail if one of these is missing
InstFile(".config", "config", txt=True),
InstFile("misc/generated/configs.c", "generated_configs.c", txt=True),
InstFile("include/generated/autoconf.h", "generated_autoconf.h", txt=True),
InstFile("include/generated/version.h", "zephyr_version.h",
gzip=False, txt=True),
InstFile("include/generated/sof_versions.h", "sof_versions.h",
@ -1042,7 +1042,7 @@ CHECKSUM_WANTED = [
'dsp_basefw.bin',
'*version*.h',
'*configs.c', # deterministic unlike .config
'*autoconf.h', # .config has absolute paths in comments, this has not.
'*.toml', # rimage
'*.strip', '*stripped*', # stripped ELF files are reproducible
'boot.mod', # no debug section -> no need to strip this ELF