Go to file
Marc Herbert 9f8cce1522 Disable __TIME__ and the non-reproducible build counter by default
Makes even CONFIG_DEBUG builds (locally) deterministic by
default: (re)building twice produces the same binaries. Also a partial
fix for incremental builds: running "make" twice in a row now recompiles
fewer files because version.h does not keep changing.

Also makes sure non-debug builds can't use uninitialized strings in some
future security accident.

Fixes:

 ./scripts/checkpatch.pl -g 'aa85e2c0e956c'

ERROR: Use of the '__DATE__' macro makes the build non-deterministic
+		.date = __DATE__,
ERROR: Use of the '__TIME__' macro makes the build non-deterministic
+		.time = __TIME__,

The previous behavior can be restored using any standard CMake
configuration method, example:

  ./scripts/xtensa-build-all.sh apl
  cmake -B build_apl_gcc/ -DBUILD_COUNTERS=1
  make -C build_apl_gcc

https://reproducible-builds.org/

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2021-06-04 12:00:34 +01:00
.github .github: add build-tools.sh (all) back, lost with Travis 2021-05-24 15:27:18 -07:00
doc doxygen: codecs: exclude 3rd party codec headers from Doxygen 2021-04-10 21:53:32 +01:00
installer Disable __TIME__ and the non-reproducible build counter by default 2021-06-04 12:00:34 +01:00
keys Move signing key pair from rimage/ up one level 2020-05-13 10:16:04 +01:00
rimage@5aeb95b19b update klocwork submodule 2021-05-31 11:42:19 +01:00
scripts fuzzer: add deprecation README.md 2021-05-24 15:27:18 -07:00
smex smex: don't corrupt the build with a bogus .ldc output 2021-05-18 16:46:44 +01:00
src Disable __TIME__ and the non-reproducible build counter by default 2021-06-04 12:00:34 +01:00
test ipc: split IPC major code into IPC specific directories 2021-05-31 13:08:20 +01:00
tools topology: imx8: add kwd component with wm8960 codec 2021-06-03 13:49:58 +01:00
zephyr ipc: split IPC major code into IPC specific directories 2021-05-31 13:08:20 +01:00
.gitignore gitignore: Add checkpatch temporary file to gitignore 2020-10-22 13:05:23 +01:00
.gitmodules .gitmodules: use a relative path 2021-04-01 13:03:01 +01:00
.travis.yml .github: replace HAVE_CONFIG KConfig hack with an override 2021-03-23 12:17:22 +00:00
CMakeLists.txt Disable __TIME__ and the non-reproducible build counter by default 2021-06-04 12:00:34 +01:00
CODEOWNERS codec_adapter: add mrajwa & dbaluta as code owners 2021-04-02 13:34:52 +01:00
Kconfig kconfig: move BUILD_VM_ROM Kconfig.xtos-build 2021-05-25 15:53:39 +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: move XTOS build specific debug options to a separate file 2021-05-25 15:53:39 +01:00
LICENCE LICENSE: Add Cadence license 2021-04-12 10:22:15 +01:00
README.md .github: rename workflow from "Github Action CI" to "Github Actions" 2021-01-28 13:20:22 +00:00

README.md

Sound Open Firmware

Status

GitHub Actions Build Status Gitter chat IRC 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