git: 126df352f516 - main - linux(4): Move inclusion of i386-specific files under common condition

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Fri, 31 Mar 2023 11:57:10 UTC
The branch main has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=126df352f5161c89516f9db83bdb892a170f04fb

commit 126df352f5161c89516f9db83bdb892a170f04fb
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-03-31 11:56:29 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-03-31 11:56:29 +0000

    linux(4): Move inclusion of i386-specific files under common condition
---
 sys/modules/linux/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 43d7f2c240b8..8efdb3220585 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -47,9 +47,6 @@ VDSODEPS=linux_vdso_gettc_x86.inc
 .endif
 .if ${MACHINE_CPUARCH} == "amd64"
 SRCS+=	linux${SFX}_support.S
-.else
-SRCS+=	linux_copyout.c
-SRCS+=	linux_netlink.c
 .endif
 DPSRCS=	assym.inc linux${SFX}_genassym.c
 
@@ -72,7 +69,9 @@ SRCS+=	imgact_linux.c \
 	linux_ptrace_machdep.c \
 	linux_util.c \
 	linux_vdso_selector_x86.c \
-	linux_x86.c
+	linux_x86.c \
+	linux_copyout.c \
+	linux_netlink.c
 .endif
 
 .if ${MACHINE_CPUARCH} == "i386"