From 71574a65e80d04db193432a7525eb49f1acdf614 Mon Sep 17 00:00:00 2001 From: Gilles Chanteperdrix Date: Tue, 14 Jun 2016 17:31:09 +0200 Subject: [PATCH] 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 Acked-by: "Yann E. MORIN" Signed-off-by: Peter Korsgaard --- Config.in | 11 +++++++++++ 1 file changed, 11 insertions(+) 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" -- 2.30.2