[Buildroot] [PATCH 02/12] reproducibility: override locale and timezone
Gilles Chanteperdrix
gilles.chanteperdrix at xenomai.org
Tue Jun 14 15:31:10 UTC 2016
Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix at xenomai.org>
---
Makefile | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Makefile b/Makefile
index 3f5c3d3..0217ff0 100644
--- a/Makefile
+++ b/Makefile
@@ -208,6 +208,13 @@ ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
-include $(BR2_CONFIG)
endif
+export BR2_REPRODUCIBLE
+ifeq ($(BR2_REPRODUCIBLE),y)
+export TZ=UTC
+export LANG=C
+export LC_ALL=C
+endif
+
# To put more focus on warnings, be less verbose as default
# Use 'make V=1' to see the full commands
ifeq ("$(origin V)", "command line")
--
2.8.2
More information about the buildroot
mailing list