aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2021-03-24 15:56:46 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2021-04-01 08:03:35 +0000
commitf5209bef0f6103d3ccc2380d438e85a8a8367e52 (patch)
tree158f9048cdc4d3f787a9b6a847537d660744775d
parentb4dc951c417ec3afbc7064c1c7c4d2ce9fe03ad9 (diff)
downloadsrc-f5209bef0f6103d3ccc2380d438e85a8a8367e52.tar.gz
src-f5209bef0f6103d3ccc2380d438e85a8a8367e52.zip
Get rid of i386 ref here as linux64 is a 64-bit module.
Reviewed By: emaste, imp Differential Revision: https://reviews.freebsd.org/D29412 (cherry picked from commit 88588c4b7611a39cdf965c3c07d8fcc13ed553b4)
-rw-r--r--sys/modules/linux64/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/modules/linux64/Makefile b/sys/modules/linux64/Makefile
index ebc69168bd4a..c081151e3fc5 100644
--- a/sys/modules/linux64/Makefile
+++ b/sys/modules/linux64/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
.PATH: ${SRCTOP}/sys/compat/linux ${SRCTOP}/sys/${MACHINE}/linux
-.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
+.if ${MACHINE_CPUARCH} == "amd64"
.PATH: ${SRCTOP}/sys/x86/linux
.endif
@@ -16,16 +16,13 @@ SRCS= linux_fork.c linux_dummy_machdep.c linux_file.c linux_event.c \
opt_compat.h opt_inet6.h opt_posix.h opt_usb.h \
vnode_if.h device_if.h bus_if.h \
linux_support.s
-.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
+.if ${MACHINE_CPUARCH} == "amd64"
SRCS+= linux_dummy_x86.c
.endif
DPSRCS= assym.inc linux_genassym.c
# XXX: for assym.inc
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 \
genassym.o