From 12ad82a7566109ecfd79ad83f5f205ee6293e1ec Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Fri, 15 Mar 2024 00:34:34 +0000 Subject: [PATCH] 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 --- scripts/xtensa-build-zephyr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/xtensa-build-zephyr.py b/scripts/xtensa-build-zephyr.py index 15b37c072..9418becdc 100755 --- a/scripts/xtensa-build-zephyr.py +++ b/scripts/xtensa-build-zephyr.py @@ -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