xref: /linux/kernel/entry/Makefile (revision ec8a42e7343234802b9054874fe01810880289ce)
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