mirror of https://github.com/thesofproject/sof.git
9f8cce1522
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> |
||
---|---|---|
.github | ||
doc | ||
installer | ||
keys | ||
rimage@5aeb95b19b | ||
scripts | ||
smex | ||
src | ||
test | ||
tools | ||
zephyr | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
CMakeLists.txt | ||
CODEOWNERS | ||
Kconfig | ||
Kconfig.xtos-build | ||
Kconfig.xtos-dbg | ||
LICENCE | ||
README.md |
README.md
Sound Open Firmware
Status
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