aboutsummaryrefslogtreecommitdiff
path: root/doc/build
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-21 12:40:29 -0700
committerSimon Glass <sjg@chromium.org>2023-03-08 11:38:48 -0800
commitbfb708ad9987ebddd2cd8f55bf4884e4f2305234 (patch)
tree0c2b87057a453cb9342657aea39edb99bc35ffaf /doc/build
parent93202d72d75ff2e04c14525bc8b585c5ed0d0740 (diff)
downloadu-boot-bfb708ad9987ebddd2cd8f55bf4884e4f2305234.zip
u-boot-bfb708ad9987ebddd2cd8f55bf4884e4f2305234.tar.gz
u-boot-bfb708ad9987ebddd2cd8f55bf4884e4f2305234.tar.bz2
buildman: Add a flag for reproducible builds
This is quite a useful thing to use when building since it avoids small size changes between commits. Add a -r flag for it. Also undefine CONFIG_LOCALVERSION_AUTO since this appends the git hash to the version string, causing every build to be slightly different. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/build')
-rw-r--r--doc/build/reproducible.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/build/reproducible.rst b/doc/build/reproducible.rst
index 5423080..8b030f4 100644
--- a/doc/build/reproducible.rst
+++ b/doc/build/reproducible.rst
@@ -23,3 +23,5 @@ This date is shown when we launch U-Boot:
./u-boot -T
U-Boot 2023.01 (Jan 01 2023 - 00:00:00 +0000)
+
+The same effect can be obtained with buildman using the `-r` flag.