opts: popwerpcspc is also 32-bit

Mark ZFS broken here too, add comment about why.  Add comments about
OFED being disabled on 32-bit arm, add comment about why too.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2023-03-10 08:45:05 -07:00
parent 9503d2704c
commit 41cf798e82
2 changed files with 6 additions and 4 deletions

View File

@ -351,12 +351,13 @@ __DEFAULT_YES_OPTIONS+=OPENMP
__DEFAULT_NO_OPTIONS+=OPENMP
.endif
# Broken on 32-bit arm, kernel module compile errors
.if ${__T:Marm*} != ""
BROKEN_OPTIONS+= OFED
.endif
# ZFS is broken on 32-bit powerpc, but works on 64-bit
.if ${__T} == "powerpc"
# ZFS is broken on 32-bit powerpc (missing atomics), but works on 64-bit
.if ${__T} == "powerpc" || ${__T} == "powerpcspc"
BROKEN_OPTIONS+= ZFS LOADER_ZFS
.endif

View File

@ -78,11 +78,12 @@ __DEFAULT_NO_OPTIONS = \
BROKEN_OPTIONS+= INIT_ALL_ZERO
.endif
# ZFS is broken on 32-bit powerpc
.if ${MACHINE_ARCH} == "powerpc"
# ZFS is broken on 32-bit powerpc, missing atomics
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpcspc"
BROKEN_OPTIONS+= ZFS
.endif
# Broken on 32-bit arm, kernel module compile errors
.if ${MACHINE_CPUARCH} == "arm"
BROKEN_OPTIONS+= OFED
.endif