linux/Documentation/kbuild
Thomas Weißschuh cacd22ce69 kbuild: make all file references relative to source root
-fmacro-prefix-map only affects __FILE__ and __BASE_FILE__.
Other references, for example in debug information, are not affected.
This makes handling of file references in the compiler outputs harder to
use and creates problems for reproducible builds.

Switch to -ffile-prefix map which affects all references.

Also drop the documentation section advising manual specification of
-fdebug-prefix-map for reproducible builds, as it is not necessary
anymore.

Suggested-by: Ben Hutchings <ben@decadent.org.uk>
Link: https://lore.kernel.org/lkml/c49cc967294f9a3a4a34f69b6a8727a6d3959ed8.camel@decadent.org.uk/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2025-03-22 23:50:58 +09:00
..
Kconfig.recursion-issue-01 docs: kconfig: Fix grammar and formatting 2024-02-15 06:55:47 +09:00
Kconfig.recursion-issue-02 docs: use the lore redirector everywhere 2021-10-12 13:58:19 -06:00
Kconfig.select-break
bash-completion.rst kbuild: add Kbuild bash completion 2025-03-15 21:22:52 +09:00
gcc-plugins.rst docs/core-api: expand Fedora instructions for GCC plugins 2022-09-27 13:21:44 -06:00
gendwarfksyms.rst Documentation/kbuild: Add DWARF module versioning 2025-01-11 01:25:26 +09:00
headers_install.rst Kbuild updates for v5.3 2019-07-12 16:03:16 -07:00
index.rst kbuild: add Kbuild bash completion 2025-03-15 21:22:52 +09:00
issues.rst docs: kbuild: fix build with pdf and fix some minor issues 2019-07-15 11:03:04 -03:00
kbuild.rst kbuild: rust: add PROCMACROLDFLAGS 2025-01-15 09:53:54 +01:00
kconfig-language.rst docs: kconfig: Mention IS_REACHABLE as way for optional dependency 2025-03-15 21:19:44 +09:00
kconfig-macro-language.rst kconfig: doc: fix $(fileno) to $(filename) 2020-12-21 16:01:44 +09:00
kconfig.rst docs: kbuild/kconfig: reformat/cleanup 2024-02-19 18:20:39 +09:00
llvm.rst sparc/build: Add SPARC target flags for compiling with clang 2024-11-16 09:52:56 +01:00
makefiles.rst kbuild: rust: add rustc-min-version support function 2025-03-15 21:19:32 +09:00
modules.rst Documentation/kbuild: Fix indentation in modules.rst example 2025-03-17 00:29:51 +09:00
reproducible-builds.rst kbuild: make all file references relative to source root 2025-03-22 23:50:58 +09:00