svn commit: r335672 - head/sys/modules

Ed Maste emaste at FreeBSD.org
Tue Jun 26 16:50:42 UTC 2018


Author: emaste
Date: Tue Jun 26 16:50:41 2018
New Revision: 335672
URL: https://svnweb.freebsd.org/changeset/base/335672

Log:
  Build linprocfs and linsysfs also on arm64
  
  Sponsored by:	Turing Robotic Industries

Modified:
  head/sys/modules/Makefile

Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile	Tue Jun 26 16:20:19 2018	(r335671)
+++ head/sys/modules/Makefile	Tue Jun 26 16:50:41 2018	(r335672)
@@ -218,8 +218,6 @@ SUBDIR=	\
 	libalias \
 	libiconv \
 	libmchain \
-	${_linprocfs} \
-	${_linsysfs} \
 	${_linux} \
 	${_linux_common} \
 	${_linux64} \
@@ -493,6 +491,12 @@ SUBDIR+=	iscsi
 SUBDIR+=	iscsi_initiator
 .endif
 
+.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} != "amd64" || \
+    ${MACHINE_CPUARCH} == "i386"
+SUBDIR+=	linprocfs
+SUBDIR+=	linsysfs
+.endif
+
 .if ${MK_NAND} != "no" || defined(ALL_MODULES)
 _nandfs=	nandfs
 _nandsim=	nandsim
@@ -607,8 +611,6 @@ _iser=		iser
 .endif
 _ix=		ix
 _ixv=		ixv
-_linprocfs=	linprocfs
-_linsysfs=	linsysfs
 _linux=		linux
 .if ${MK_SOURCELESS_UCODE} != "no"
 _lio=		lio


More information about the svn-src-head mailing list