xref: /openbmc/linux/kernel/entry/Makefile (revision 2634682f)
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
13obj-$(CONFIG_KVM_XFER_TO_GUEST_WORK)	+= kvm.o
14