WIP FPC-III support
[linux/fpc-iii.git] / arch / x86 / entry / Makefile
blob08bf95dbc91126d25fc93cdc55526f6cbb064977
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the x86 low level entry code
6 KASAN_SANITIZE := n
7 UBSAN_SANITIZE := n
8 KCOV_INSTRUMENT := n
10 CFLAGS_REMOVE_common.o = $(CC_FLAGS_FTRACE)
11 CFLAGS_REMOVE_syscall_64.o = $(CC_FLAGS_FTRACE)
12 CFLAGS_REMOVE_syscall_32.o = $(CC_FLAGS_FTRACE)
13 CFLAGS_REMOVE_syscall_x32.o = $(CC_FLAGS_FTRACE)
15 CFLAGS_common.o += -fno-stack-protector
16 CFLAGS_syscall_64.o += -fno-stack-protector
17 CFLAGS_syscall_32.o += -fno-stack-protector
18 CFLAGS_syscall_x32.o += -fno-stack-protector
20 CFLAGS_syscall_64.o += $(call cc-option,-Wno-override-init,)
21 CFLAGS_syscall_32.o += $(call cc-option,-Wno-override-init,)
22 CFLAGS_syscall_x32.o += $(call cc-option,-Wno-override-init,)
24 obj-y := entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o
25 obj-y += common.o
27 obj-y += vdso/
28 obj-y += vsyscall/
30 obj-$(CONFIG_IA32_EMULATION) += entry_64_compat.o syscall_32.o
31 obj-$(CONFIG_X86_X32_ABI) += syscall_x32.o