1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the x86 low level entry code
10 CFLAGS_REMOVE_common.o
= $(CC_FLAGS_FTRACE
)
12 CFLAGS_common.o
+= -fno-stack-protector
14 obj-y
:= entry.o entry_
$(BITS
).o syscall_
$(BITS
).o
20 obj-
$(CONFIG_PREEMPTION
) += thunk.o
21 CFLAGS_entry_fred.o
+= -fno-stack-protector
22 CFLAGS_REMOVE_entry_fred.o
+= -pg
$(CC_FLAGS_FTRACE
)
23 obj-
$(CONFIG_X86_FRED
) += entry_64_fred.o entry_fred.o
25 obj-
$(CONFIG_IA32_EMULATION
) += entry_64_compat.o syscall_32.o
26 obj-
$(CONFIG_X86_X32_ABI
) += syscall_x32.o