aboutsummaryrefslogtreecommitdiff
path: root/scripts/Makefile.kcov
blob: 5cc72037e423459820d060bdeedaca44a54b8975 (plain)
1
2
3
4
5
6
7
ifdef CONFIG_KCOV
CFLAGS_KCOV	:= $(call cc-option,-fsanitize-coverage=trace-pc,)
ifeq ($(CONFIG_KCOV_ENABLE_COMPARISONS),y)
CFLAGS_KCOV += $(call cc-option,-fsanitize-coverage=trace-cmp,)
endif

endif