summaryrefslogtreecommitdiffstats
path: root/kernel/kcsan/Makefile
blob: dd15b62ec0b58c3ebfe7d8f0c7143cfe06490f45 (plain)
1
2
3
4
5
6
7
8
9
10
11
# SPDX-License-Identifier: GPL-2.0
KCSAN_SANITIZE := n
KCOV_INSTRUMENT := n

CFLAGS_REMOVE_core.o = $(CC_FLAGS_FTRACE)

CFLAGS_core.o := $(call cc-option,-fno-conserve-stack,) \
	$(call cc-option,-fno-stack-protector,)

obj-y := core.o debugfs.o report.o
obj-$(CONFIG_KCSAN_SELFTEST) += test.o