xref: /linux/scripts/Makefile.kcov (revision b509c16e1d7cba8d0fd3843f6641fcafb3761432)
1# SPDX-License-Identifier: GPL-2.0-only
2kcov-flags-y					+= -fsanitize-coverage=trace-pc
3kcov-flags-$(CONFIG_KCOV_ENABLE_COMPARISONS)	+= -fsanitize-coverage=trace-cmp
4
5export CFLAGS_KCOV := $(kcov-flags-y)
6