Files
linux/scripts
Konstantin Khorenko f541906e89 kbuild: move GCOV flags to scripts/Makefile.gcov
* split the CFLAGS_GCOV block out of the top-level Makefile into
   scripts/Makefile.gcov
 * include it via include-$(CONFIG_GCOV_KERNEL) like neighbour
   KASAN/KCOV/UBSAN makefiles do
 * keep the include before scripts/Makefile.gcc-plugins: the try-run
   must not get -fplugin= options, plugins do not exist on clean builds

CFLAGS_GCOV is no longer defined when CONFIG_GCOV_KERNEL is off:
 * its user in scripts/Makefile.lib is guarded by the CONFIG_GCOV_KERNEL
 * in i915/xe header an empty value is harmless

The try-run compiler invocations also stop running on builds without
GCOV.

Link: https://lore.kernel.org/[email protected]
Signed-off-by: Konstantin Khorenko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Suggested-by: Peter Oberparleiter <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nicolas Schier <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Mikhail Zaslonko <[email protected]>
2026-10-13 21:25:48 -07:00
..
2024-10-07 02:12:27 +09:00
…
…
…
…
…
2024-11-28 08:11:56 +09:00
2026-01-11 06:09:11 -10:00
2026-07-27 17:18:00 +02:00