Makefile: export LANG LC_ALL TZ without using COREBOOT_EXPORTS
LANG LC_ALL TZ are required for reproducible builds. Those environment should be always used for all builds in coreboot and for payloads. By using COREBOOT_EXPORTS those would be removed in payload builds. Change-Id: Iea965abbce23bf6ec408ef587da0a4c4ebc65a27 Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51363 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
c4a9d7ae42
commit
ada431e6d4
4
Makefile
4
Makefile
|
@ -24,7 +24,9 @@ COREBOOT_EXPORTS += top src srck obj objutil objk
|
|||
LANG:=C
|
||||
LC_ALL:=C
|
||||
TZ:=UTC0
|
||||
COREBOOT_EXPORTS += LANG LC_ALL TZ
|
||||
# don't use COREBOOT_EXPORTS to ensure build steps outside the coreboot build system
|
||||
# are reproducible
|
||||
export LANG LC_ALL TZ
|
||||
|
||||
DOTCONFIG ?= $(top)/.config
|
||||
KCONFIG_CONFIG = $(DOTCONFIG)
|
||||
|
|
Loading…
Reference in New Issue