2 # Makefile for local APIC drivers and for the IO-APIC code
5 CFLAGS_apic.o := -I$(src)/../../include/asm/trace
6 obj-$(CONFIG_X86_LOCAL_APIC) += apic.o apic_noop.o ipi.o
9 obj-$(CONFIG_X86_IO_APIC) += io_apic.o
10 obj-$(CONFIG_SMP) += ipi.o
12 ifeq ($(CONFIG_X86_64),y)
13 # APIC probe will depend on the listing order here
14 obj-$(CONFIG_X86_NUMACHIP) += apic_numachip.o
15 obj-$(CONFIG_X86_UV) += x2apic_uv_x.o
16 obj-$(CONFIG_X86_X2APIC) += x2apic_phys.o
17 obj-$(CONFIG_X86_X2APIC) += x2apic_cluster.o
18 obj-y += apic_flat_64.o
21 # APIC probe will depend on the listing order here
22 obj-$(CONFIG_X86_NUMAQ) += numaq_32.o
23 obj-$(CONFIG_X86_SUMMIT) += summit_32.o
24 obj-$(CONFIG_X86_BIGSMP) += bigsmp_32.o
25 obj-$(CONFIG_X86_ES7000) += es7000_32.o
27 # For 32bit, probe_32 need to be listed last
28 obj-$(CONFIG_X86_LOCAL_APIC) += probe_$(BITS).o