summaryrefslogtreecommitdiffstats
path: root/kernel/kcsan/Makefile
blob: df6b7799e49276cee752689b26b0929ea1c3f40e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# SPDX-License-Identifier: GPL-2.0
KCSAN_SANITIZE := n
KCOV_INSTRUMENT := n
UBSAN_SANITIZE := 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