Merge tag 'for-5.11-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[platform/kernel/linux-starfive.git] / kernel / entry / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2
3 # Prevent the noinstr section from being pestered by sanitizer and other goodies
4 # as long as these things cannot be disabled per function.
5 KASAN_SANITIZE := n
6 UBSAN_SANITIZE := n
7 KCOV_INSTRUMENT := n
8
9 CFLAGS_REMOVE_common.o   = -fstack-protector -fstack-protector-strong
10 CFLAGS_common.o         += -fno-stack-protector
11
12 obj-$(CONFIG_GENERIC_ENTRY)             += common.o syscall_user_dispatch.o
13 obj-$(CONFIG_KVM_XFER_TO_GUEST_WORK)    += kvm.o