summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-02-21 12:40:29 -0700
committerSimon Glass <[email protected]>2023-03-08 11:38:48 -0800
commitbfb708ad9987ebddd2cd8f55bf4884e4f2305234 (patch)
tree0c2b87057a453cb9342657aea39edb99bc35ffaf /doc
parent93202d72d75ff2e04c14525bc8b585c5ed0d0740 (diff)
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 <[email protected]>
Diffstat (limited to 'doc')
-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 5423080633e..8b030f469d7 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.