Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2020 20:43:29 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r366861 - in head/sys/modules: . vmware
Message-ID:  <202010192043.09JKhTr4085357@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010192043.09JKhTr4085357>