xref: /openbmc/linux/arch/x86/kernel/apic/Makefile (revision 74afab7a)
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
9f62bae50SIngo Molnarobj-$(CONFIG_SMP)		+= ipi.o
10f62bae50SIngo Molnar
11f62bae50SIngo Molnarifeq ($(CONFIG_X86_64),y)
12107e0e0cSSuresh Siddha# APIC probe will depend on the listing order here
1344b111b5SSteffen Persvoldobj-$(CONFIG_X86_NUMACHIP)	+= apic_numachip.o
14f62bae50SIngo Molnarobj-$(CONFIG_X86_UV)		+= x2apic_uv_x.o
15107e0e0cSSuresh Siddhaobj-$(CONFIG_X86_X2APIC)	+= x2apic_phys.o
16107e0e0cSSuresh Siddhaobj-$(CONFIG_X86_X2APIC)	+= x2apic_cluster.o
17107e0e0cSSuresh Siddhaobj-y				+= apic_flat_64.o
18f62bae50SIngo Molnarendif
19f62bae50SIngo Molnar
20107e0e0cSSuresh Siddha# APIC probe will depend on the listing order here
21107e0e0cSSuresh Siddhaobj-$(CONFIG_X86_BIGSMP)	+= bigsmp_32.o
22107e0e0cSSuresh Siddha
23107e0e0cSSuresh Siddha# For 32bit, probe_32 need to be listed last
24107e0e0cSSuresh Siddhaobj-$(CONFIG_X86_LOCAL_APIC)	+= probe_$(BITS).o
25