linux/Documentation/kbuild
Thomas Weißschuh 020d7f1448 Revert "kbuild: make all file references relative to source root"
This reverts commit cacd22ce69.

-ffile-prefix-map breaks the ability of debuggers to find the source
file corresponding to object files. As there is no simple or uniform
way to specify the source directory explicitly, this breaks developers
workflows.

Revert the unconditional usage of -ffile-prefix-map.

Reported-by: Matthieu Baerts <matttbe@kernel.org>
Closes: https://lore.kernel.org/lkml/edc50aa7-0740-4942-8c15-96f12f2acc7e@kernel.org/
Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Closes: https://lore.kernel.org/lkml/aBEttQH4kimHFScx@intel.com/
Fixes: cacd22ce69 ("kbuild: make all file references relative to source root")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2025-05-12 15:04:13 +09:00
..
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.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.rst docs: kbuild/kconfig: reformat/cleanup 2024-02-19 18:20:39 +09:00
Kconfig.select-break kbuild: document recursive dependency limitation / resolution 2015-10-08 15:36:16 +02: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 Revert "kbuild: make all file references relative to source root" 2025-05-12 15:04:13 +09:00