xref: /openbmc/linux/kernel/entry/Makefile (revision 53e8558837be58c1d44d50ad87247a8c56c95c13)
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.
5KASAN_SANITIZE := n
6UBSAN_SANITIZE := n
7KCOV_INSTRUMENT := n
8
9CFLAGS_REMOVE_common.o	 = -fstack-protector -fstack-protector-strong
10CFLAGS_common.o		+= -fno-stack-protector
11
12obj-$(CONFIG_GENERIC_ENTRY) 		+= common.o syscall_user_dispatch.o
13obj-$(CONFIG_KVM_XFER_TO_GUEST_WORK)	+= kvm.o
14