summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2019-09-13 04:22:12 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-09-24 10:37:06 +0000
commitbe756f18df6ff2fb14cb05e2dab248dd46f4a53e (patch)
tree968e26ff7b8ebbe1dc795680c4ac07e2b7ceebd3 /Makefile
parentad84062b0d0c8a6ca7fe28a4cd57b233b7faba97 (diff)
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 <lynxis@fe80.eu> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35391 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
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