xref: /openbmc/u-boot/arch/x86/cpu/Makefile (revision 0a61ee88)
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
11extra-y	= start.o
12obj-$(CONFIG_X86_RESET_VECTOR) += resetvec.o start16.o
13obj-y	+= interrupts.o cpu.o cpu_x86.o call64.o
14
15AFLAGS_REMOVE_call32.o := -mregparm=3 \
16	$(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
17AFLAGS_call32.o := -fpic -fshort-wchar
18
19extra-y += call32.o
20
21obj-$(CONFIG_INTEL_BAYTRAIL) += baytrail/
22obj-$(CONFIG_SYS_COREBOOT) += coreboot/
23obj-$(CONFIG_EFI_APP) += efi/
24obj-$(CONFIG_QEMU) += qemu/
25obj-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE) += ivybridge/
26obj-$(CONFIG_INTEL_QUARK) += quark/
27obj-$(CONFIG_INTEL_QUEENSBAY) += queensbay/
28obj-y += irq.o lapic.o ioapic.o
29obj-$(CONFIG_SMP) += mp_init.o
30obj-y += mtrr.o
31obj-$(CONFIG_PCI) += pci.o
32obj-$(CONFIG_SMP) += sipi_vector.o
33obj-y += turbo.o
34