forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/scripts/Makefile.kcov
....@@ -1,9 +1,6 @@
1
-ifdef CONFIG_KCOV
2
-
1
+# SPDX-License-Identifier: GPL-2.0-only
32 kcov-flags-$(CONFIG_CC_HAS_SANCOV_TRACE_PC) += -fsanitize-coverage=trace-pc
43 kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS) += -fsanitize-coverage=trace-cmp
54 kcov-flags-$(CONFIG_GCC_PLUGIN_SANCOV) += -fplugin=$(objtree)/scripts/gcc-plugins/sancov_plugin.so
65
76 export CFLAGS_KCOV := $(kcov-flags-y)
8
-
9
-endif