sys/modules/Makefile: Add a section for arm64 + x86 + powerpc64.
This reduces some duplication between the existing arm64 + x86 section and the powerpc64 section. To make the diff simpler, enable mlx4 on powerpc64 since it compiles. Reviewed by: pkubaj, imp, emaste Differential Revision: https://reviews.freebsd.org/D38973
This commit is contained in:
parent
fe0f695039
commit
3140e27ee5
@ -533,13 +533,8 @@ _rdma= rdma
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
|
||||
${MACHINE_CPUARCH} == "i386"
|
||||
_ena= ena
|
||||
${MACHINE_CPUARCH} == "i386" || ${MACHINE_ARCH:Mpowerpc64*} != ""
|
||||
_ipmi= ipmi
|
||||
_iwlwifi= iwlwifi
|
||||
.if ${MK_SOURCELESS_UCODE} != "no"
|
||||
_iwlwififw= iwlwififw
|
||||
.endif
|
||||
_mlx4= mlx4
|
||||
_mlx5= mlx5
|
||||
.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \
|
||||
@ -551,6 +546,15 @@ _mlx5en= mlx5en
|
||||
_mlx4ib= mlx4ib
|
||||
_mlx5ib= mlx5ib
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
|
||||
${MACHINE_CPUARCH} == "i386"
|
||||
_ena= ena
|
||||
_iwlwifi= iwlwifi
|
||||
.if ${MK_SOURCELESS_UCODE} != "no"
|
||||
_iwlwififw= iwlwififw
|
||||
.endif
|
||||
_ossl= ossl
|
||||
_rtw88= rtw88
|
||||
.if ${MK_SOURCELESS_UCODE} != "no"
|
||||
@ -844,17 +848,8 @@ _nvme= nvme
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH:Mpowerpc64*} != ""
|
||||
_ipmi= ipmi
|
||||
_ixl= ixl
|
||||
_mlx5= mlx5
|
||||
_nvram= opal_nvram
|
||||
.if ${MK_OFED} != "no" || defined(ALL_MODULES)
|
||||
_mlx5ib= mlx5ib
|
||||
.endif
|
||||
.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \
|
||||
defined(ALL_MODULES)
|
||||
_mlx5en= mlx5en
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "powerpc" && ${MACHINE_ARCH} != "powerpcspe"
|
||||
|
Loading…
Reference in New Issue
Block a user