mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
ec8f24b7fa
Add SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any form These files fall under the project license, GPL v2 only. The resulting SPDX license identifier is: GPL-2.0-only Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11 lines
359 B
Makefile
11 lines
359 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
ifdef CONFIG_KCOV
|
|
|
|
kcov-flags-$(CONFIG_CC_HAS_SANCOV_TRACE_PC) += -fsanitize-coverage=trace-pc
|
|
kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -fsanitize-coverage=trace-cmp
|
|
kcov-flags-$(CONFIG_GCC_PLUGIN_SANCOV) += -fplugin=$(objtree)/scripts/gcc-plugins/sancov_plugin.so
|
|
|
|
export CFLAGS_KCOV := $(kcov-flags-y)
|
|
|
|
endif
|