aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>2016-06-14 17:31:09 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-07-02 12:00:24 +0200
commit71574a65e80d04db193432a7525eb49f1acdf614 (patch)
tree8cbc580083271b78756f031a33b1700e639ebd26
parent6c169fe616f4e069f8cee20f1c206fa0b39ff48a (diff)
downloadbuildroot-71574a65e80d04db193432a7525eb49f1acdf614.tar.gz
buildroot-71574a65e80d04db193432a7525eb49f1acdf614.tar.bz2
reproducibility: introduce config knob
Making the builds reproducible involves turning off build timestamps, which some users may find annoying. So make the reproducible builds optional. Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--Config.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index 820b1f0945..bbe2bc3cf2 100644
--- a/Config.in
+++ b/Config.in
@@ -728,6 +728,17 @@ config BR2_COMPILER_PARANOID_UNSAFE_PATH
endmenu
+config BR2_REPRODUCIBLE
+ bool "Make the build reproducible (experimental)"
+ help
+ This option will remove all sources of non-reproducibility
+ from the build process. For a given Buildroot configuration,
+ this allows to generate exactly identical binaries from one
+ build to the other, including on different machines.
+
+ This is labeled as an experimental feature, as not all
+ packages behave properly to ensure reproducibility.
+
endmenu
source "toolchain/Config.in"