3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6 # Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
8 # SPDX-License-Identifier: GPL-2.0+
11 ifeq ($(CONFIG_$(SPL_)X86_64),y)
16 extra-$(CONFIG_$(SPL_)X86_16BIT_INIT) += resetvec.o start16.o
18 obj-y += cpu.o cpu_x86.o
20 ifndef CONFIG_$(SPL_)X86_64
21 AFLAGS_REMOVE_call32.o := -mregparm=3 \
22 $(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
23 AFLAGS_call32.o := -fpic -fshort-wchar
28 obj-y += intel_common/
29 obj-$(CONFIG_INTEL_BAYTRAIL) += baytrail/
30 obj-$(CONFIG_INTEL_BROADWELL) += broadwell/
31 obj-$(CONFIG_SYS_COREBOOT) += coreboot/
32 obj-$(CONFIG_EFI_APP) += efi/
33 obj-$(CONFIG_QEMU) += qemu/
34 obj-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE) += ivybridge/
35 obj-$(CONFIG_INTEL_QUARK) += quark/
36 obj-$(CONFIG_INTEL_QUEENSBAY) += queensbay/
37 obj-y += lapic.o ioapic.o
38 ifndef CONFIG_$(SPL_)X86_64
40 obj-$(CONFIG_SMP) += mp_init.o
43 obj-$(CONFIG_PCI) += pci.o
44 ifndef CONFIG_$(SPL_)X86_64
45 obj-$(CONFIG_SMP) += sipi_vector.o
49 ifeq ($(CONFIG_$(SPL_)X86_64),y)