Skip to content

Commit 37fac07

Browse files
masahir0ynathanchance
authored andcommitted
Documentation: kbuild: note CONFIG_DEBUG_EFI in reproducible builds
CONFIG_EFI_DEBUG embeds absolute file paths into object files, which makes the resulting vmlinux specific to the build environment. Add a note about this in reproducible-builds.rst Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Nicolas Schier <nsc@kernel.org> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Link: https://patch.msgid.link/20250924-kbuild-doc-config-debug-efi-in-reproducible-builds-v2-1-d2d6b9dcdb7d@kernel.org Signed-off-by: Nathan Chancellor <nathan@kernel.org>
1 parent c7d3dd9 commit 37fac07

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/kbuild/reproducible-builds.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ supported.
6161
The Reproducible Builds web site has more information about these
6262
`prefix-map options`_.
6363

64+
Some CONFIG options such as `CONFIG_DEBUG_EFI` embed absolute paths in
65+
object files. Such options should be disabled.
66+
6467
Generated files in source packages
6568
----------------------------------
6669

0 commit comments

Comments
 (0)