From be756f18df6ff2fb14cb05e2dab248dd46f4a53e Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Fri, 13 Sep 2019 04:22:12 +0200 Subject: [PATCH] Makefile: set TZ LANG LC_ALL To be reproducible, TZ LANG LC_ALL should be set early in the build process to be always used. Change-Id: Iad802968347c8d41f974af930e0d0ad5b66719cb Signed-off-by: Alexander Couzens Reviewed-on: https://review.coreboot.org/c/coreboot/+/35391 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Philipp Deppenwiese --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index f0a22a5279..52cba69b30 100644 --- a/Makefile +++ b/Makefile @@ -42,6 +42,12 @@ absobj := $(abspath $(obj)) COREBOOT_EXPORTS := COREBOOT_EXPORTS COREBOOT_EXPORTS += top src srck obj objutil objk +# reproducible builds +LANG:=C +LC_ALL:=C +TZ:=UTC0 +COREBOOT_EXPORTS += LANG LC_ALL TZ + DOTCONFIG ?= $(top)/.config KCONFIG_CONFIG = $(DOTCONFIG) KCONFIG_AUTOADS := $(obj)/cb-config.ads