2002-11-18 00:14:45 +00:00
|
|
|
#
|
2006-09-01 17:49:50 +00:00
|
|
|
# (C) Copyright 2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
2006-10-08 22:42:01 +00:00
|
|
|
#
|
2002-11-18 00:14:45 +00:00
|
|
|
# (C) Copyright 2002
|
2011-08-04 16:45:45 +00:00
|
|
|
# Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
|
2002-11-18 00:14:45 +00:00
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2002-11-18 00:14:45 +00:00
|
|
|
#
|
|
|
|
|
2017-01-16 14:03:48 +00:00
|
|
|
ifeq ($(CONFIG_$(SPL_)X86_64),y)
|
|
|
|
extra-y = start64.o
|
|
|
|
else
|
2013-10-21 02:53:34 +00:00
|
|
|
extra-y = start.o
|
2017-01-16 14:03:48 +00:00
|
|
|
endif
|
2017-01-16 14:03:45 +00:00
|
|
|
extra-$(CONFIG_$(SPL_)X86_16BIT_INIT) += resetvec.o start16.o
|
2017-01-16 14:04:10 +00:00
|
|
|
|
|
|
|
obj-y += cpu.o cpu_x86.o
|
2014-11-13 03:28:40 +00:00
|
|
|
|
2017-01-16 14:04:11 +00:00
|
|
|
ifndef CONFIG_$(SPL_)X86_64
|
2015-08-04 18:33:55 +00:00
|
|
|
AFLAGS_REMOVE_call32.o := -mregparm=3 \
|
|
|
|
$(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
|
|
|
|
AFLAGS_call32.o := -fpic -fshort-wchar
|
|
|
|
|
|
|
|
extra-y += call32.o
|
2017-01-16 14:04:11 +00:00
|
|
|
endif
|
2015-08-04 18:33:55 +00:00
|
|
|
|
2016-03-12 05:06:53 +00:00
|
|
|
obj-y += intel_common/
|
2015-01-28 05:13:47 +00:00
|
|
|
obj-$(CONFIG_INTEL_BAYTRAIL) += baytrail/
|
2016-03-12 05:07:18 +00:00
|
|
|
obj-$(CONFIG_INTEL_BROADWELL) += broadwell/
|
2014-11-13 03:28:41 +00:00
|
|
|
obj-$(CONFIG_SYS_COREBOOT) += coreboot/
|
2015-08-04 18:33:46 +00:00
|
|
|
obj-$(CONFIG_EFI_APP) += efi/
|
2015-05-07 13:34:08 +00:00
|
|
|
obj-$(CONFIG_QEMU) += qemu/
|
2014-11-25 04:18:20 +00:00
|
|
|
obj-$(CONFIG_NORTHBRIDGE_INTEL_IVYBRIDGE) += ivybridge/
|
2015-02-02 14:35:29 +00:00
|
|
|
obj-$(CONFIG_INTEL_QUARK) += quark/
|
2014-12-17 07:50:39 +00:00
|
|
|
obj-$(CONFIG_INTEL_QUEENSBAY) += queensbay/
|
2017-01-16 14:04:11 +00:00
|
|
|
obj-y += lapic.o ioapic.o
|
|
|
|
obj-y += irq.o
|
2017-01-18 11:32:54 +00:00
|
|
|
ifndef CONFIG_$(SPL_)X86_64
|
2015-04-30 04:25:59 +00:00
|
|
|
obj-$(CONFIG_SMP) += mp_init.o
|
2017-01-16 14:04:11 +00:00
|
|
|
endif
|
2015-01-01 23:18:07 +00:00
|
|
|
obj-y += mtrr.o
|
2014-11-13 05:42:11 +00:00
|
|
|
obj-$(CONFIG_PCI) += pci.o
|
2017-01-16 14:04:11 +00:00
|
|
|
ifndef CONFIG_$(SPL_)X86_64
|
2015-04-30 04:25:59 +00:00
|
|
|
obj-$(CONFIG_SMP) += sipi_vector.o
|
2017-01-16 14:04:11 +00:00
|
|
|
endif
|
2014-11-15 01:18:43 +00:00
|
|
|
obj-y += turbo.o
|
2017-01-16 14:03:57 +00:00
|
|
|
|
2017-01-16 14:03:58 +00:00
|
|
|
ifeq ($(CONFIG_$(SPL_)X86_64),y)
|
|
|
|
obj-y += x86_64/
|
|
|
|
else
|
2017-01-16 14:03:57 +00:00
|
|
|
obj-y += i386/
|
|
|
|
endif
|