Go to file
Marc Herbert 5d66f1dac4 cmake: fix .ldc chksum fallback when no SOURCE_DIRECTORY/.git
Fixes old (Aug 2020) and untested commit b2a325a3b7 ("cmake: Handle
empty SOF_SRC_HASH_LONG") which tried to use GIT_LOG_HASH as a fallback
for the SOF_SRC_HASH .ldc checksum but always fell back on "0" instead
because of a misunderstanding of cmake's surprisingly complex "if"
operator.

Before Zephyr this was not an issue in practice because GIT_LOG_HASH was
empty anyway when SOURCE_DIRECTORY/.git was missing, so there was
nothing to lose.

For the Zephyr builds this will now use the SOF SHA1 as the .ldc checksum
for now. Probably not ideal yet but far better than the current constant
"0" which means no check at all.

Also log the SOF_SRC_HASH fallback value now and change the second
fallback (when GIT_LOG_HASH is also missing) from "0" to the
searchable hexspeak "baadf00d".

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2021-12-24 22:15:13 +00:00
.github check patch: allow C99 comments 2021-12-06 09:58:32 +00:00
doc CMake: require version 3.13 2021-09-10 17:19:29 +01:00
installer installer: comment fix: hsw and sue are not SIGNED 2021-10-21 13:59:46 +01:00
keys Move signing key pair from rimage/ up one level 2020-05-13 10:16:04 +01:00
rimage@0f64a20183 rimage: update to the current tip of "main" 2021-12-02 14:02:02 +00:00
scripts cmake: fix .ldc chksum fallback when no SOURCE_DIRECTORY/.git 2021-12-24 22:15:13 +00:00
smex CMake: require version 3.13 2021-09-10 17:19:29 +01:00
src platform: mt8195: implement dsp clock function 2021-12-24 21:59:52 +00:00
test Audio: Move audio stream copy inline functions to component.c 2021-12-22 21:51:46 +00:00
tools topology: Ensure buffers get allocated on 0. 2021-12-22 21:34:38 +00:00
zephyr zephyr: remove non-existent directories from CMakeLists.txt 2021-12-20 22:58:27 +00:00
.gitignore gitignore: Add checkpatch temporary file to gitignore 2020-10-22 13:05:23 +01:00
.gitmodules .gitmodules: remove .git suffix from rimage.git 2021-09-30 15:56:44 +01:00
.travis.yml .github: replace HAVE_CONFIG KConfig hack with an override 2021-03-23 12:17:22 +00:00
CMakeLists.txt cmake: add the -Irimage #include path only for the modules that need it 2021-09-17 17:15:50 +01:00
CODEOWNERS CODEOWNERS: add code owners for mt8195 2021-10-05 15:03:21 +01:00
Kconfig kconfig: allow SOF Kconfig to be included in other projects 2021-08-04 12:34:39 +01:00
Kconfig.sof refactor is_cached() to avoid buggy compiler optimization 2021-08-12 15:04:41 +01:00
Kconfig.xtos-build kconfig: move BUILD_VM_ROM Kconfig.xtos-build 2021-05-25 15:53:39 +01:00
Kconfig.xtos-dbg Kconfig: use uncached buffer only for debugging 2021-09-29 16:36:27 +01:00
LICENCE LICENSE: Add Cadence license 2021-04-12 10:22:15 +01:00
README.md readme: remove IRC link 2021-06-16 22:13:08 +01:00

README.md

Sound Open Firmware

Status

GitHub Actions Build Status Gitter chat

Documentation

See docs

Running the tests

See unit testing documentation

Deployment

TODO: Add additional notes about how to deploy this on a live system

Contributing

See Contributing to the Project

License

This project is licensed under the BSD Clause 3 - see the LICENCE file for details