blob: fd81310df6934cd8cad6e9aa71c2e86a76de59fc [file] [log] [blame]
wdenk2262cfe2002-11-18 00:14:45 +00001#
Marian Balakowiczf9328632006-09-01 19:49:50 +02002# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Wolfgang Denk511d0c72006-10-09 00:42:01 +02004#
wdenk2262cfe2002-11-18 00:14:45 +00005# (C) Copyright 2002
Albert ARIBAUDfa82f872011-08-04 18:45:45 +02006# Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
wdenk2262cfe2002-11-18 00:14:45 +00007#
Wolfgang Denk1a459662013-07-08 09:37:19 +02008# SPDX-License-Identifier: GPL-2.0+
wdenk2262cfe2002-11-18 00:14:45 +00009#
10
Masahiro Yamada3954b732013-10-21 11:53:34 +090011extra-y = start.o
Simon Glass972188b2017-01-16 07:03:45 -070012extra-$(CONFIG_$(SPL_)X86_16BIT_INIT) += resetvec.o start16.o
Simon Glassf8224032016-10-17 20:29:07 -060013obj-y += interrupts.o cpu.o cpu_x86.o call64.o setjmp.o
Masahiro Yamada165ecd22014-11-13 12:28:40 +090014
Simon Glass6f92ed82015-08-04 12:33:55 -060015AFLAGS_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
Simon Glass1223d732016-03-11 22:06:53 -070021obj-y += intel_common/
Simon Glass3a1a18f2015-01-27 22:13:47 -070022obj-$(CONFIG_INTEL_BAYTRAIL) += baytrail/
Simon Glass2f3f4772016-03-11 22:07:18 -070023obj-$(CONFIG_INTEL_BROADWELL) += broadwell/
Masahiro Yamada37c99402014-11-13 12:28:41 +090024obj-$(CONFIG_SYS_COREBOOT) += coreboot/
Ben Stoltz3dcdd172015-08-04 12:33:46 -060025obj-$(CONFIG_EFI_APP) += efi/
Bin Menga65b25d2015-05-07 21:34:08 +080026obj-$(CONFIG_QEMU) += qemu/
Simon Glass2f6d42b2014-11-24 21:18:20 -070027obj-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE) += ivybridge/
Bin Mengef46bea2015-02-02 22:35:29 +080028obj-$(CONFIG_INTEL_QUARK) += quark/
Bin Meng240a79d2014-12-17 15:50:39 +080029obj-$(CONFIG_INTEL_QUEENSBAY) += queensbay/
Bin Meng3d232872015-06-23 12:18:49 +080030obj-y += irq.o lapic.o ioapic.o
Simon Glass45b5a372015-04-29 22:25:59 -060031obj-$(CONFIG_SMP) += mp_init.o
Simon Glassaff25232015-01-01 16:18:07 -070032obj-y += mtrr.o
Simon Glassd188b182014-11-12 22:42:11 -070033obj-$(CONFIG_PCI) += pci.o
Simon Glass45b5a372015-04-29 22:25:59 -060034obj-$(CONFIG_SMP) += sipi_vector.o
Simon Glass18739e22014-11-14 18:18:43 -070035obj-y += turbo.o