blob: 06fc70cf5433df90a924471fb023a6366bdd826a [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Ingo Molnar905a36a2015-06-03 13:37:36 +02002#
3# Makefile for the x86 low level entry code
4#
Josh Poimboeufc0dd6716862016-02-28 22:22:34 -06005
Josh Poimboeufc0dd6716862016-02-28 22:22:34 -06006OBJECT_FILES_NON_STANDARD_entry_64_compat.o := y
7
Jan Beulicha2209b742016-10-24 09:00:12 -06008CFLAGS_syscall_64.o += $(call cc-option,-Wno-override-init,)
9CFLAGS_syscall_32.o += $(call cc-option,-Wno-override-init,)
Ingo Molnar00398a02015-06-03 18:41:06 +020010obj-y := entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o
Andy Lutomirski1f484aa2015-07-03 12:44:23 -070011obj-y += common.o
Ingo Molnard603c8e2015-06-03 18:05:44 +020012
Ingo Molnar00398a02015-06-03 18:41:06 +020013obj-y += vdso/
14obj-y += vsyscall/
15
Ingo Molnar138bd562015-06-05 14:11:49 +020016obj-$(CONFIG_IA32_EMULATION) += entry_64_compat.o syscall_32.o
Ingo Molnar19a433f2015-06-03 18:00:59 +020017