svn commit: r366861 - in head/sys/modules: . vmware

Ed Maste emaste at FreeBSD.org
Mon Oct 19 20:43:30 UTC 2020


Author: emaste
Date: Mon Oct 19 20:43:29 2020
New Revision: 366861
URL: https://svnweb.freebsd.org/changeset/base/366861

Log:
  build vmware modules on arm64
  
  pvscsi and vmxnet3 build and work.  Exclude vmci for now as it contains
  x86-specific assembly.
  
  Reported by:	Vincent Milum Jr
  MFC after:	2 weeks
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/modules/Makefile
  head/sys/modules/vmware/Makefile

Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile	Mon Oct 19 20:42:01 2020	(r366860)
+++ head/sys/modules/Makefile	Mon Oct 19 20:43:29 2020	(r366861)
@@ -511,6 +511,7 @@ _mthca=		mthca
 _mlx4ib=	mlx4ib
 _mlx5ib=	mlx5ib
 .endif
+_vmware=	vmware
 .endif
 
 .if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES)
@@ -633,7 +634,6 @@ _safe=		safe
 _speaker=	speaker
 _splash=	splash
 _sppp=		sppp
-_vmware=	vmware
 _wbwd=		wbwd
 _wi=		wi
 

Modified: head/sys/modules/vmware/Makefile
==============================================================================
--- head/sys/modules/vmware/Makefile	Mon Oct 19 20:42:01 2020	(r366860)
+++ head/sys/modules/vmware/Makefile	Mon Oct 19 20:43:29 2020	(r366861)
@@ -23,6 +23,8 @@
 # SUCH DAMAGE.
 #
 
-SUBDIR=	 pvscsi vmci vmxnet3
-
+SUBDIR=	 pvscsi vmxnet3
+.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
+SUBDIR+= vmci
+.endif
 .include <bsd.subdir.mk>


More information about the svn-src-all mailing list