mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
boot/barebox: explicitly set the timezone for the kbuild timestamp
This adjusts the code added in commitc90bd74ebb("boot/barebox: pass required environment variables for reproducible build") to explicitly set the timezone when calculating KBUILD_BUILD_TIMESTAMP, like is already done in linux/linux.mk. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit11e75ecbf0) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
41aade348a
commit
b4027a4ddd
@@ -78,7 +78,7 @@ ifeq ($$(BR2_REPRODUCIBLE),y)
|
|||||||
$(1)_MAKE_ENV += \
|
$(1)_MAKE_ENV += \
|
||||||
KBUILD_BUILD_USER=buildroot \
|
KBUILD_BUILD_USER=buildroot \
|
||||||
KBUILD_BUILD_HOST=buildroot \
|
KBUILD_BUILD_HOST=buildroot \
|
||||||
KBUILD_BUILD_TIMESTAMP="$$(shell LC_ALL=C date -d @$(SOURCE_DATE_EPOCH))"
|
KBUILD_BUILD_TIMESTAMP="$$(shell LC_ALL=C TZ='UTC' date -d @$(SOURCE_DATE_EPOCH))"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($$(BR2_TARGET_$(1)_USE_DEFCONFIG),y)
|
ifeq ($$(BR2_TARGET_$(1)_USE_DEFCONFIG),y)
|
||||||
|
|||||||
Reference in New Issue
Block a user