Signed-off-by: Florian Bäuerle <florian.baeue...@allegion.com>
---
 rules/barebox.make | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/rules/barebox.make b/rules/barebox.make
index 4018dd697..4e8ffebf9 100644
--- a/rules/barebox.make
+++ b/rules/barebox.make
@@ -47,6 +47,15 @@ BAREBOX_WRAPPER_BLACKLIST := \
 BAREBOX_CONF_OPT := $(call barebox-opts, BAREBOX)
 BAREBOX_MAKE_OPT := $(BAREBOX_CONF_OPT)
 
+ifndef PTXCONF_SETUP_DISABLE_REPRODUCIBLE
+BAREBOX_MAKE_ENV := $(BAREBOX_MAKE_ENV) \
+       SOURCE_DATE_EPOCH="$(SOURCE_DATE_EPOCH)" \
+       KBUILD_BUILD_TIMESTAMP="$(shell date --utc --date 
@$(SOURCE_DATE_EPOCH))" \
+       KBUILD_BUILD_VERSION="0" \
+       KBUILD_BUILD_USER="ptxdist" \
+       KBUILD_BUILD_HOST="ptxdist"
+endif
+
 BAREBOX_TAGS_OPT := TAGS tags cscope
 
 ifdef PTXCONF_BAREBOX
-- 
2.19.2

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to