mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
boot/barebox: explicitly set the timezone for the kbuild timestamp
This adjusts the code added in commit
c90bd74ebb ("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>
This commit is contained in:
@@ -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