WIP FPC-III support
[linux/fpc-iii.git] / kernel / kcsan / Makefile
blob65ca5539c470e3bc77f280db7c570441c8c544a8
1 # SPDX-License-Identifier: GPL-2.0
2 KCSAN_SANITIZE := n
3 KCOV_INSTRUMENT := n
4 UBSAN_SANITIZE := n
6 CFLAGS_REMOVE_core.o = $(CC_FLAGS_FTRACE)
7 CFLAGS_REMOVE_debugfs.o = $(CC_FLAGS_FTRACE)
8 CFLAGS_REMOVE_report.o = $(CC_FLAGS_FTRACE)
10 CFLAGS_core.o := $(call cc-option,-fno-conserve-stack) \
11 -fno-stack-protector -DDISABLE_BRANCH_PROFILING
13 obj-y := core.o debugfs.o report.o
14 obj-$(CONFIG_KCSAN_SELFTEST) += selftest.o
16 CFLAGS_kcsan-test.o := $(CFLAGS_KCSAN) -g -fno-omit-frame-pointer
17 obj-$(CONFIG_KCSAN_TEST) += kcsan-test.o