1 # SPDX-License-Identifier: GPL-2.0+
4 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7 # Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
9 ifeq ($(CONFIG_$(SPL_)X86_64),y)
14 extra-$(CONFIG_$(SPL_)X86_16BIT_INIT) += resetvec.o start16.o
16 obj-y += cpu.o cpu_x86.o
18 ifndef CONFIG_$(SPL_)X86_64
19 AFLAGS_REMOVE_call32.o := -mregparm=3 \
20 $(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
21 AFLAGS_call32.o := -fpic -fshort-wchar \
22 $(if $(CONFIG_EFI_STUB_64BIT),-m64)
27 obj-y += intel_common/
28 obj-$(CONFIG_INTEL_BAYTRAIL) += baytrail/
29 obj-$(CONFIG_INTEL_BRASWELL) += braswell/
30 obj-$(CONFIG_INTEL_BROADWELL) += broadwell/
31 obj-$(CONFIG_SYS_COREBOOT) += coreboot/
32 obj-$(CONFIG_EFI) += 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-$(CONFIG_INTEL_TANGIER) += tangier/
38 obj-y += lapic.o ioapic.o
40 ifndef CONFIG_$(SPL_)X86_64
41 obj-$(CONFIG_SMP) += mp_init.o
44 obj-$(CONFIG_PCI) += pci.o
45 ifndef CONFIG_$(SPL_)X86_64
46 obj-$(CONFIG_SMP) += sipi_vector.o
49 obj-$(CONFIG_HAVE_ACPI_RESUME) += wakeup.o
51 ifeq ($(CONFIG_$(SPL_)X86_64),y)