2019-11-15 02:02:54 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
KCSAN_SANITIZE := n
|
|
|
|
KCOV_INSTRUMENT := n
|
2019-11-20 02:57:42 +08:00
|
|
|
UBSAN_SANITIZE := n
|
2019-11-15 02:02:54 +08:00
|
|
|
|
|
|
|
CFLAGS_REMOVE_core.o = $(CC_FLAGS_FTRACE)
|
2020-02-15 05:10:35 +08:00
|
|
|
CFLAGS_REMOVE_debugfs.o = $(CC_FLAGS_FTRACE)
|
|
|
|
CFLAGS_REMOVE_report.o = $(CC_FLAGS_FTRACE)
|
2019-11-15 02:02:54 +08:00
|
|
|
|
|
|
|
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
|