x86: Use X86_16BIT_INIT instead of X86_RESET_VECTOR
[oweals/u-boot.git] / arch / x86 / cpu / Makefile
1 #
2 # (C) Copyright 2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # (C) Copyright 2002
6 # Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
7 #
8 # SPDX-License-Identifier:      GPL-2.0+
9 #
10
11 extra-y = start.o
12 extra-$(CONFIG_$(SPL_)X86_16BIT_INIT) += resetvec.o start16.o
13 obj-y   += interrupts.o cpu.o cpu_x86.o call64.o setjmp.o
14
15 AFLAGS_REMOVE_call32.o := -mregparm=3 \
16         $(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
17 AFLAGS_call32.o := -fpic -fshort-wchar
18
19 extra-y += call32.o
20
21 obj-y += intel_common/
22 obj-$(CONFIG_INTEL_BAYTRAIL) += baytrail/
23 obj-$(CONFIG_INTEL_BROADWELL) += broadwell/
24 obj-$(CONFIG_SYS_COREBOOT) += coreboot/
25 obj-$(CONFIG_EFI_APP) += efi/
26 obj-$(CONFIG_QEMU) += qemu/
27 obj-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE) += ivybridge/
28 obj-$(CONFIG_INTEL_QUARK) += quark/
29 obj-$(CONFIG_INTEL_QUEENSBAY) += queensbay/
30 obj-y += irq.o lapic.o ioapic.o
31 obj-$(CONFIG_SMP) += mp_init.o
32 obj-y += mtrr.o
33 obj-$(CONFIG_PCI) += pci.o
34 obj-$(CONFIG_SMP) += sipi_vector.o
35 obj-y += turbo.o