xref: /openbmc/linux/kernel/entry/Makefile (revision 1446e1df)
1142781e1SThomas Gleixner# SPDX-License-Identifier: GPL-2.0
2142781e1SThomas Gleixner
3142781e1SThomas Gleixner# Prevent the noinstr section from being pestered by sanitizer and other goodies
4142781e1SThomas Gleixner# as long as these things cannot be disabled per function.
5142781e1SThomas GleixnerKASAN_SANITIZE := n
6142781e1SThomas GleixnerUBSAN_SANITIZE := n
7142781e1SThomas GleixnerKCOV_INSTRUMENT := n
8142781e1SThomas Gleixner
9142781e1SThomas GleixnerCFLAGS_REMOVE_common.o	 = -fstack-protector -fstack-protector-strong
10142781e1SThomas GleixnerCFLAGS_common.o		+= -fno-stack-protector
11142781e1SThomas Gleixner
12*1446e1dfSGabriel Krisman Bertaziobj-$(CONFIG_GENERIC_ENTRY) 		+= common.o syscall_user_dispatch.o
13935ace2fSThomas Gleixnerobj-$(CONFIG_KVM_XFER_TO_GUEST_WORK)	+= kvm.o
14