Skip to content

Commit

Permalink
xtensa-build-zephyr.py: checksum autoconf.h instead of configs.c
Browse files Browse the repository at this point in the history
autoconf.h has strings, configs.c has not.

We can do this now since this $BOARD_REVISION fix:

zephyrproject-rtos/zephyr@811a74c0199f

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb authored and kv2019i committed Mar 18, 2024
1 parent 2df6d1b commit 12ad82a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/xtensa-build-zephyr.py
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ class InstFile:
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",
Expand Down Expand Up @@ -1042,7 +1042,7 @@ class InstFile:
'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
Expand Down

0 comments on commit 12ad82a

Please sign in to comment.