summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/apic/Makefile')
-rw-r--r--arch/x86/kernel/apic/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/Makefile b/arch/x86/kernel/apic/Makefile
index 97f558d..da7b7b9 100644
--- a/arch/x86/kernel/apic/Makefile
+++ b/arch/x86/kernel/apic/Makefile
@@ -2,10 +2,9 @@
# Makefile for local APIC drivers and for the IO-APIC code
#
-obj-y := apic.o probe_$(BITS).o ipi.o nmi.o
+obj-$(CONFIG_X86_LOCAL_APIC) += apic.o probe_$(BITS).o ipi.o nmi.o
obj-$(CONFIG_X86_IO_APIC) += io_apic.o
obj-$(CONFIG_SMP) += ipi.o
-obj-$
ifeq ($(CONFIG_X86_64),y)
obj-y += apic_flat_64.o
OpenPOWER on IntegriCloud