Merge branch 'i2c-mux/for-next' of https://github.com/peda-r/i2c-mux into i2c/for...
[linux/fpc-iii.git] / scripts / Makefile.kcov
blob3d61c4bfcbee48d3129d4eed56fcebd8af267dea
1 ifdef CONFIG_KCOV
3 kcov-flags-$(CONFIG_CC_HAS_SANCOV_TRACE_PC)     += -fsanitize-coverage=trace-pc
4 kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS)    += -fsanitize-coverage=trace-cmp
5 kcov-flags-$(CONFIG_GCC_PLUGIN_SANCOV)          += -fplugin=$(objtree)/scripts/gcc-plugins/sancov_plugin.so
7 export CFLAGS_KCOV := $(kcov-flags-y)
9 endif