Searched hist:"1 d3730f0012fa04ec392b52cc21f945704ac2e16" (Results 1 – 1 of 1) sorted by relevance
| /linux/ |
| H A D | Makefile | 1d3730f0012fa04ec392b52cc21f945704ac2e16 Sun Nov 10 01:34:36 UTC 2024 Masahiro Yamada <masahiroy@kernel.org> kbuild: support -fmacro-prefix-map for external modules
This commit makes -fmacro-prefix-map work for external modules built in a separate output directory. It improves the reproducibility of external modules and provides the benefits described in commit a73619a845d5 ("kbuild: use -fmacro-prefix-map to make __FILE__ a relative path").
When building_out_of_srctree is not defined (e.g., when the kernel or external module is built in the source directory), this option is unnecessary.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
|