kernel: Disable build timestamps by default for reproducibility

To make Zephyr builds more reproducible, default to disabling build
timestamps. Expand the documentation for CONFIG_BUILD_TIMESTAMP to
explain that enabling it will make the build unreproducible.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
This commit is contained in:
Josh Triplett 2018-04-09 14:33:38 -07:00 committed by Anas Nashif
commit 18cb832646

View file

@ -219,10 +219,12 @@ config BOOT_DELAY
config BUILD_TIMESTAMP
bool
default y
default n
prompt "Build Timestamp"
help
Build timestamp and add it to the boot banner.
Record a timestamp from the build and add it to the boot banner.
Note that this will make the build unreproducible: building
Zephyr twice will result in different binaries.
config INT_LATENCY_BENCHMARK
bool