summaryrefslogtreecommitdiff
path: root/sys/modules/linux64/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-08-02 20:56:00 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-08-02 20:56:00 +0000
commit653cfd1cdf695936a0cef1332e49679233b06ed6 (patch)
tree76234aab62159d19ff4245bedd5d6f600197d047 /sys/modules/linux64/Makefile
parent3d95659a9b3ab284b093dc9a38ac113d3c6ac855 (diff)
Notes
Diffstat (limited to 'sys/modules/linux64/Makefile')
-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