|
@@ -213,6 +213,13 @@ ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
|
|
|
-include $(BR2_CONFIG)
|
|
|
endif
|
|
|
|
|
|
+# timezone and locale may affect build output
|
|
|
+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")
|
|
@@ -410,6 +417,7 @@ endif
|
|
|
# Scripts in support/ or post-build scripts may need to reference
|
|
|
# these locations, so export them so it is easier to use
|
|
|
export BR2_CONFIG
|
|
|
+export BR2_REPRODUCIBLE
|
|
|
export TARGET_DIR
|
|
|
export STAGING_DIR
|
|
|
export HOST_DIR
|