]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
reproducibility: introduce config knob
authorGilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Tue, 14 Jun 2016 15:31:09 +0000 (17:31 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 2 Jul 2016 10:00:24 +0000 (12:00 +0200)
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>
Config.in

index 820b1f0945db115c25c953426446b4a92122f06d..bbe2bc3cf23226c8feb9d65685d9244c2b5c0f63 100644 (file)
--- 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"