xref: /openbmc/linux/arch/x86/kernel/apic/Makefile (revision 44380982)
1f62bae50SIngo Molnar#
2f62bae50SIngo Molnar# Makefile for local APIC drivers and for the IO-APIC code
3f62bae50SIngo Molnar#
4f62bae50SIngo Molnar
574afab7aSJiang Liuobj-$(CONFIG_X86_LOCAL_APIC)	+= apic.o apic_noop.o ipi.o vector.o
65f2b0ba4SDon Zickusobj-y				+= hw_nmi.o
784e478c6SDon Zickus
8f62bae50SIngo Molnarobj-$(CONFIG_X86_IO_APIC)	+= io_apic.o
944380982SJiang Liuobj-$(CONFIG_PCI_MSI)		+= msi.o
10f62bae50SIngo Molnarobj-$(CONFIG_SMP)		+= ipi.o
11f62bae50SIngo Molnar
12f62bae50SIngo Molnarifeq ($(CONFIG_X86_64),y)
13107e0e0cSSuresh Siddha# APIC probe will depend on the listing order here
1444b111b5SSteffen Persvoldobj-$(CONFIG_X86_NUMACHIP)	+= apic_numachip.o
15f62bae50SIngo Molnarobj-$(CONFIG_X86_UV)		+= x2apic_uv_x.o
16107e0e0cSSuresh Siddhaobj-$(CONFIG_X86_X2APIC)	+= x2apic_phys.o
17107e0e0cSSuresh Siddhaobj-$(CONFIG_X86_X2APIC)	+= x2apic_cluster.o
18107e0e0cSSuresh Siddhaobj-y				+= apic_flat_64.o
19f62bae50SIngo Molnarendif
20f62bae50SIngo Molnar
21107e0e0cSSuresh Siddha# APIC probe will depend on the listing order here
22107e0e0cSSuresh Siddhaobj-$(CONFIG_X86_BIGSMP)	+= bigsmp_32.o
23107e0e0cSSuresh Siddha
24107e0e0cSSuresh Siddha# For 32bit, probe_32 need to be listed last
25107e0e0cSSuresh Siddhaobj-$(CONFIG_X86_LOCAL_APIC)	+= probe_$(BITS).o
26