aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/Makefile
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-03-08 23:07:11 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-03-08 23:12:00 +0000
commitfe0f6950391cf10bbfcd1672d8e111a41063a4c8 (patch)
tree8d2718880c77c1c74426eeb5db478694f319747e /sys/modules/Makefile
parentf4ea84cea23fa8e6094f629cc3e4b1c39bd7bf34 (diff)
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r--sys/modules/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 4aa4a26e6d17..0bce649ac978 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -522,14 +522,19 @@ SUBDIR+= linux64
SUBDIR+= linux_common
.endif
-.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
- ${MACHINE_CPUARCH} == "i386"
-_ena= ena
+.if ${MACHINE_CPUARCH} != "arm"
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
_ibcore= ibcore
_ipoib= ipoib
_iser= iser
+_mthca= mthca
+_rdma= rdma
.endif
+.endif
+
+.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
+ ${MACHINE_CPUARCH} == "i386"
+_ena= ena
_ipmi= ipmi
_iwlwifi= iwlwifi
.if ${MK_SOURCELESS_UCODE} != "no"
@@ -543,7 +548,6 @@ _mlx4en= mlx4en
_mlx5en= mlx5en
.endif
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
-_mthca= mthca
_mlx4ib= mlx4ib
_mlx5ib= mlx5ib
.endif
@@ -703,9 +707,6 @@ _qat= qat
_qatfw= qatfw
_qat_c2xxx= qat_c2xxx
_qat_c2xxxfw= qat_c2xxxfw
-.if ${MK_OFED} != "no" || defined(ALL_MODULES)
-_rdma= rdma
-.endif
_safe= safe
_speaker= speaker
_splash= splash
@@ -848,11 +849,7 @@ _ixl= ixl
_mlx5= mlx5
_nvram= opal_nvram
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
-_ibcore= ibcore
-_ipoib= ipoib
-_iser= iser
_mlx5ib= mlx5ib
-_rdma= rdma
.endif
.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \
defined(ALL_MODULES)