Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/51364 )
Change subject: Makefile: set and export SOURCE_DATE_EPOCH ......................................................................
Makefile: set and export SOURCE_DATE_EPOCH
Set SOURCE_DATE_EPOCH [1] to allow payload builds and tools to use this as arbitrary timestamp to allow reprocucible builds.
[1] https://reproducible-builds.org/docs/source-date-epoch/
Change-Id: I2c870023d13ff4c95305c8aba1459c1fcaf18773 Signed-off-by: Alexander Couzens lynxis@fe80.eu Reviewed-on: https://review.coreboot.org/c/coreboot/+/51364 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Patrick Georgi pgeorgi@google.com --- M Makefile 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
diff --git a/Makefile b/Makefile index e307e1d..1388977 100644 --- a/Makefile +++ b/Makefile @@ -24,9 +24,10 @@ LANG:=C LC_ALL:=C TZ:=UTC0 +SOURCE_DATE_EPOCH := $(shell $(top)/util/genbuild_h/genbuild_h.sh . | sed -n 's/^.define COREBOOT_BUILD_EPOCH>.*"(.*)".*/\1/p') # don't use COREBOOT_EXPORTS to ensure build steps outside the coreboot build system # are reproducible -export LANG LC_ALL TZ +export LANG LC_ALL TZ SOURCE_DATE_EPOCH
DOTCONFIG ?= $(top)/.config KCONFIG_CONFIG = $(DOTCONFIG)