summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJérôme Pouiller <jezz@sysmic.org>2016-12-20 14:46:21 +0100
committerPeter Korsgaard <peter@korsgaard.com>2017-02-07 23:01:11 +0100
commit9eba09a48e4e69f084f29523b0f0f34f3305925d (patch)
tree285c1039a3d1861b51c7b39fbc2127743f019573 /Makefile
parenta268768c71ce1189f7a124dbe6869900a3ee3554 (diff)
reproducible: enable fakedate
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5e4bc92c8..df3b64eb0 100644
--- 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