xref: /linux/arch/x86/entry/Makefile (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
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)
11
12CFLAGS_common.o			+= -fno-stack-protector
13
14obj-y				:= entry.o entry_$(BITS).o syscall_$(BITS).o
15obj-y				+= common.o
16
17obj-y				+= vdso/
18obj-y				+= vsyscall/
19
20obj-$(CONFIG_PREEMPTION)	+= thunk.o
21CFLAGS_entry_fred.o		+= -fno-stack-protector
22CFLAGS_REMOVE_entry_fred.o	+= -pg $(CC_FLAGS_FTRACE)
23obj-$(CONFIG_X86_FRED)		+= entry_64_fred.o entry_fred.o
24
25obj-$(CONFIG_IA32_EMULATION)	+= entry_64_compat.o syscall_32.o
26obj-$(CONFIG_X86_X32_ABI)	+= syscall_x32.o
27