mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Documentation: kbuild: note CONFIG_DEBUG_EFI in reproducible builds
@ 2025-06-25 12:57 Masahiro Yamada
  2025-06-25 17:07 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2025-06-25 12:57 UTC (permalink / raw)
  To: linux-kbuild
  Cc: Ard Biesheuvel, Ben Hutchings, Masahiro Yamada, Jonathan Corbet,
	Nathan Chancellor, Nicolas Schier, linux-doc, linux-kernel

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>
---

 Documentation/kbuild/reproducible-builds.rst | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/kbuild/reproducible-builds.rst b/Documentation/kbuild/reproducible-builds.rst
index f2dcc39044e6..7a16dbc275ca 100644
--- a/Documentation/kbuild/reproducible-builds.rst
+++ b/Documentation/kbuild/reproducible-builds.rst
@@ -61,6 +61,9 @@ supported.
 The Reproducible Builds web site has more information about these
 `prefix-map options`_.
 
+Some CONFIG options such as `CONFIG_DEBUG_EFI` embeds absolute paths in
+object files. Such options should be disabled.
+
 Generated files in source packages
 ----------------------------------
 
-- 
2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-25 17:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-25 12:57 [PATCH] Documentation: kbuild: note CONFIG_DEBUG_EFI in reproducible builds Masahiro Yamada
2025-06-25 17:07 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®