1# SPDX-License-Identifier: GPL-2.0+ 2# 3# (C) Copyright 2006 4# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 5# 6# (C) Copyright 2002 7# Daniel Engström, Omicron Ceti AB, daniel@omicron.se. 8 9ifeq ($(CONFIG_$(SPL_)X86_64),y) 10extra-y = start64.o 11else 12extra-y = start.o 13endif 14extra-$(CONFIG_$(SPL_)X86_16BIT_INIT) += resetvec.o start16.o 15 16obj-y += cpu.o cpu_x86.o 17 18ifndef CONFIG_$(SPL_)X86_64 19AFLAGS_REMOVE_call32.o := -mregparm=3 \ 20 $(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32) 21AFLAGS_call32.o := -fpic -fshort-wchar 22 23extra-y += call32.o 24endif 25 26obj-y += intel_common/ 27obj-$(CONFIG_INTEL_BAYTRAIL) += baytrail/ 28obj-$(CONFIG_INTEL_BRASWELL) += braswell/ 29obj-$(CONFIG_INTEL_BROADWELL) += broadwell/ 30obj-$(CONFIG_SYS_COREBOOT) += coreboot/ 31obj-$(CONFIG_EFI_APP) += efi/ 32obj-$(CONFIG_QEMU) += qemu/ 33obj-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE) += ivybridge/ 34obj-$(CONFIG_INTEL_QUARK) += quark/ 35obj-$(CONFIG_INTEL_QUEENSBAY) += queensbay/ 36obj-$(CONFIG_INTEL_TANGIER) += tangier/ 37obj-y += lapic.o ioapic.o 38obj-y += irq.o 39ifndef CONFIG_$(SPL_)X86_64 40obj-$(CONFIG_SMP) += mp_init.o 41endif 42obj-y += mtrr.o 43obj-$(CONFIG_PCI) += pci.o 44ifndef CONFIG_$(SPL_)X86_64 45obj-$(CONFIG_SMP) += sipi_vector.o 46endif 47obj-y += turbo.o 48obj-$(CONFIG_HAVE_ACPI_RESUME) += wakeup.o 49 50ifeq ($(CONFIG_$(SPL_)X86_64),y) 51obj-y += x86_64/ 52else 53obj-y += i386/ 54endif 55