From 2c19e8ed900f96a10f72f402a703f8203a63445c Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 19 Oct 2020 20:43:29 +0000 Subject: [PATCH] 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 --- sys/modules/Makefile | 2 +- sys/modules/vmware/Makefile | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/modules/Makefile b/sys/modules/Makefile index e7d80ab5507..b8a7e0723c6 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -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 diff --git a/sys/modules/vmware/Makefile b/sys/modules/vmware/Makefile index 02442eb96bc..a7902a1b088 100644 --- a/sys/modules/vmware/Makefile +++ b/sys/modules/vmware/Makefile @@ -23,6 +23,8 @@ # SUCH DAMAGE. # -SUBDIR= pvscsi vmci vmxnet3 - +SUBDIR= pvscsi vmxnet3 +.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" +SUBDIR+= vmci +.endif .include