1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the x86 low level entry code 4# 5 6KASAN_SANITIZE := n 7UBSAN_SANITIZE := n 8KCOV_INSTRUMENT := n 9 10CFLAGS_REMOVE_common.o = $(CC_FLAGS_FTRACE) -fstack-protector -fstack-protector-strong 11CFLAGS_REMOVE_syscall_32.o = $(CC_FLAGS_FTRACE) -fstack-protector -fstack-protector-strong 12CFLAGS_REMOVE_syscall_64.o = $(CC_FLAGS_FTRACE) -fstack-protector -fstack-protector-strong 13 14CFLAGS_syscall_64.o += $(call cc-option,-Wno-override-init,) 15CFLAGS_syscall_32.o += $(call cc-option,-Wno-override-init,) 16obj-y := entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o 17obj-y += common.o 18 19obj-y += vdso/ 20obj-y += vsyscall/ 21 22obj-$(CONFIG_IA32_EMULATION) += entry_64_compat.o syscall_32.o 23obj-$(CONFIG_X86_X32_ABI) += syscall_x32.o 24 25