Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Ingo Molnar | 905a36a | 2015-06-03 13:37:36 +0200 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the x86 low level entry code |
| 4 | # |
Josh Poimboeuf | c0dd671686 | 2016-02-28 22:22:34 -0600 | [diff] [blame] | 5 | |
Josh Poimboeuf | c0dd671686 | 2016-02-28 22:22:34 -0600 | [diff] [blame] | 6 | OBJECT_FILES_NON_STANDARD_entry_64_compat.o := y |
| 7 | |
Jan Beulich | a2209b74 | 2016-10-24 09:00:12 -0600 | [diff] [blame] | 8 | CFLAGS_syscall_64.o += $(call cc-option,-Wno-override-init,) |
| 9 | CFLAGS_syscall_32.o += $(call cc-option,-Wno-override-init,) |
Ingo Molnar | 00398a0 | 2015-06-03 18:41:06 +0200 | [diff] [blame] | 10 | obj-y := entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o |
Andy Lutomirski | 1f484aa | 2015-07-03 12:44:23 -0700 | [diff] [blame] | 11 | obj-y += common.o |
Ingo Molnar | d603c8e | 2015-06-03 18:05:44 +0200 | [diff] [blame] | 12 | |
Ingo Molnar | 00398a0 | 2015-06-03 18:41:06 +0200 | [diff] [blame] | 13 | obj-y += vdso/ |
| 14 | obj-y += vsyscall/ |
| 15 | |
Ingo Molnar | 138bd56 | 2015-06-05 14:11:49 +0200 | [diff] [blame] | 16 | obj-$(CONFIG_IA32_EMULATION) += entry_64_compat.o syscall_32.o |
Ingo Molnar | 19a433f | 2015-06-03 18:00:59 +0200 | [diff] [blame] | 17 | |