xref: /linux/arch/x86/kernel/apic/Makefile (revision 443809828cb5ee0eae09060aa8d4b42b79dd4e0b)
1#
2# Makefile for local APIC drivers and for the IO-APIC code
3#
4
5obj-$(CONFIG_X86_LOCAL_APIC)	+= apic.o apic_noop.o ipi.o vector.o
6obj-y				+= hw_nmi.o
7
8obj-$(CONFIG_X86_IO_APIC)	+= io_apic.o
9obj-$(CONFIG_PCI_MSI)		+= msi.o
10obj-$(CONFIG_SMP)		+= ipi.o
11
12ifeq ($(CONFIG_X86_64),y)
13# APIC probe will depend on the listing order here
14obj-$(CONFIG_X86_NUMACHIP)	+= apic_numachip.o
15obj-$(CONFIG_X86_UV)		+= x2apic_uv_x.o
16obj-$(CONFIG_X86_X2APIC)	+= x2apic_phys.o
17obj-$(CONFIG_X86_X2APIC)	+= x2apic_cluster.o
18obj-y				+= apic_flat_64.o
19endif
20
21# APIC probe will depend on the listing order here
22obj-$(CONFIG_X86_BIGSMP)	+= bigsmp_32.o
23
24# For 32bit, probe_32 need to be listed last
25obj-$(CONFIG_X86_LOCAL_APIC)	+= probe_$(BITS).o
26