reproducible: enable fakedate
authorJérôme Pouiller <jezz@sysmic.org>
Tue, 20 Dec 2016 13:46:21 +0000 (14:46 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 7 Feb 2017 22:01:11 +0000 (23:01 +0100)
Enable fakedate for whole build process.

This work was sponsored by `BA Robotic Systems'.

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Makefile

index 5e4bc92c880e75ec0aa3678a778354d1f561bd43..df3b64eb03ec17134b4cb76631a8f03301bf315b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -254,6 +254,7 @@ export LC_ALL = C
 export GZIP = -n
 BR2_VERSION_GIT_EPOCH = $(shell GIT_DIR=$(TOPDIR)/.git $(GIT) log -1 --format=%at)
 export SOURCE_DATE_EPOCH = $(if $(wildcard $(TOPDIR)/.git),$(BR2_VERSION_GIT_EPOCH),$(BR2_VERSION_EPOCH))
+DEPENDENCIES_HOST_PREREQ += host-fakedate
 endif
 
 # To put more focus on warnings, be less verbose as default