aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linux64
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-07-27 20:45:00 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-07-27 20:45:00 +0000
commitce8596418142bafd9558e820c07d49ae36e65c59 (patch)
treed22adfe72c5eb6c02965f3e7e79d50f63248b47f /sys/modules/linux64
parent1a27b3ad56bd7c227d8fa1976bb4860091eab951 (diff)
Notes
Diffstat (limited to 'sys/modules/linux64')
-rw-r--r--sys/modules/linux64/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile
index 1693a509e9c4..629a1da2d190 100644
--- a/sys/modules/linux64/Makefile
+++ b/sys/modules/linux64/Makefile
@@ -16,7 +16,10 @@ SRCS= linux_fork.c linux_dummy.c linux_file.c linux_event.c \
DPSRCS= linux_genassym.c
# XXX: for assym.s
-SRCS+= opt_kstack_pages.h opt_nfs.h opt_apic.h opt_hwpmc_hooks.h
+SRCS+= opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h
+.if ${MACHINE_CPUARCH} == "i386"
+SRCS+= opt_apic.h
+.endif
CLEANFILES= linux_assym.h linux_genassym.o linux_locore.o