aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/linux_common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/linux_common/Makefile')
-rw-r--r--sys/modules/linux_common/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/modules/linux_common/Makefile b/sys/modules/linux_common/Makefile
index 1815714e9202..033fabe27188 100644
--- a/sys/modules/linux_common/Makefile
+++ b/sys/modules/linux_common/Makefile
@@ -1,12 +1,16 @@
# $FreeBSD$
-.PATH: ${SRCTOP}/sys/compat/linux
+.PATH: ${SRCTOP}/sys/compat/linux ${SRCTOP}/sys/x86/linux
KMOD= linux_common
SRCS= linux_common.c linux_mib.c linux_mmap.c linux_util.c linux_emul.c \
linux_dummy.c linux_errno.c \
linux.c device_if.h vnode_if.h bus_if.h opt_inet6.h
+.if ${MACHINE_CPUARCH} == "amd64"
+SRCS+= linux_x86.c
+.endif
+
EXPORT_SYMS=
EXPORT_SYMS+= linux_emul_path
EXPORT_SYMS+= linux_get_osname