Merge tag 'riscv-for-linus-4.15-rc2_cleanups' of git://git.kernel.org/pub/scm/linux...
[platform/kernel/linux-starfive.git] / scripts / Makefile.kcov
1 ifdef CONFIG_KCOV
2 CFLAGS_KCOV     := $(call cc-option,-fsanitize-coverage=trace-pc,)
3 ifeq ($(CONFIG_KCOV_ENABLE_COMPARISONS),y)
4 CFLAGS_KCOV += $(call cc-option,-fsanitize-coverage=trace-cmp,)
5 endif
6
7 endif