1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 KCSAN_SANITIZE := n 2 KCSAN_SANITIZE := n 3 KCOV_INSTRUMENT := n 3 KCOV_INSTRUMENT := n 4 UBSAN_SANITIZE := n 4 UBSAN_SANITIZE := n 5 5 6 CFLAGS_REMOVE_core.o = $(CC_FLAGS_FTRACE) 6 CFLAGS_REMOVE_core.o = $(CC_FLAGS_FTRACE) 7 CFLAGS_REMOVE_debugfs.o = $(CC_FLAGS_FTRACE) 7 CFLAGS_REMOVE_debugfs.o = $(CC_FLAGS_FTRACE) 8 CFLAGS_REMOVE_report.o = $(CC_FLAGS_FTRACE) 8 CFLAGS_REMOVE_report.o = $(CC_FLAGS_FTRACE) 9 9 10 CFLAGS_core.o := $(call cc-option,-fno-conserv 10 CFLAGS_core.o := $(call cc-option,-fno-conserve-stack) \ 11 $(call cc-option,-mno-outline-atomics) << 12 -fno-stack-protector -DDISABLE_BRANCH_ 11 -fno-stack-protector -DDISABLE_BRANCH_PROFILING 13 12 14 obj-y := core.o debugfs.o report.o 13 obj-y := core.o debugfs.o report.o 15 << 16 KCSAN_INSTRUMENT_BARRIERS_selftest.o := y << 17 obj-$(CONFIG_KCSAN_SELFTEST) += selftest.o 14 obj-$(CONFIG_KCSAN_SELFTEST) += selftest.o 18 15 19 CFLAGS_kcsan_test.o := $(CFLAGS_KCSAN) -fno-om !! 16 CFLAGS_kcsan_test.o := $(CFLAGS_KCSAN) -g -fno-omit-frame-pointer 20 CFLAGS_kcsan_test.o += $(DISABLE_STRUCTLEAK_PL << 21 obj-$(CONFIG_KCSAN_KUNIT_TEST) += kcsan_test.o 17 obj-$(CONFIG_KCSAN_KUNIT_TEST) += kcsan_test.o
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.