xref: /openbmc/linux/kernel/kcsan/Makefile (revision d47715f5)
1dfd402a4SMarco Elver# SPDX-License-Identifier: GPL-2.0
2dfd402a4SMarco ElverKCSAN_SANITIZE := n
3dfd402a4SMarco ElverKCOV_INSTRUMENT := n
4d47715f5SMarco ElverUBSAN_SANITIZE := n
5dfd402a4SMarco Elver
6dfd402a4SMarco ElverCFLAGS_REMOVE_core.o = $(CC_FLAGS_FTRACE)
7dfd402a4SMarco Elver
8dfd402a4SMarco ElverCFLAGS_core.o := $(call cc-option,-fno-conserve-stack,) \
9dfd402a4SMarco Elver	$(call cc-option,-fno-stack-protector,)
10dfd402a4SMarco Elver
11dfd402a4SMarco Elverobj-y := core.o debugfs.o report.o
12dfd402a4SMarco Elverobj-$(CONFIG_KCSAN_SELFTEST) += test.o
13