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