xref: /openbmc/linux/arch/x86/kernel/apic/Makefile (revision 63dc02bd)
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
6obj-y				+= hw_nmi.o
7
8obj-$(CONFIG_X86_IO_APIC)	+= io_apic.o
9obj-$(CONFIG_SMP)		+= ipi.o
10
11ifeq ($(CONFIG_X86_64),y)
12# APIC probe will depend on the listing order here
13obj-$(CONFIG_X86_NUMACHIP)	+= apic_numachip.o
14obj-$(CONFIG_X86_UV)		+= x2apic_uv_x.o
15obj-$(CONFIG_X86_X2APIC)	+= x2apic_phys.o
16obj-$(CONFIG_X86_X2APIC)	+= x2apic_cluster.o
17obj-y				+= apic_flat_64.o
18endif
19
20# APIC probe will depend on the listing order here
21obj-$(CONFIG_X86_NUMAQ)		+= numaq_32.o
22obj-$(CONFIG_X86_SUMMIT)	+= summit_32.o
23obj-$(CONFIG_X86_BIGSMP)	+= bigsmp_32.o
24obj-$(CONFIG_X86_ES7000)	+= es7000_32.o
25
26# For 32bit, probe_32 need to be listed last
27obj-$(CONFIG_X86_LOCAL_APIC)	+= probe_$(BITS).o
28