1 # SPDX-License-Identifier: GPL-2.0
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 $(call cc-option
,-fno-stack-protector
,)
13 obj-y
:= core.o debugfs.o report.o
14 obj-
$(CONFIG_KCSAN_SELFTEST
) += test.o