diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 71bc99cf4cf..ac94b36a9f2 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -508,7 +508,7 @@ _txp= txp .endif .if ${MK_SOURCELESS_UCODE} != "no" && ${MACHINE_CPUARCH} != "arm" && \ - ${MACHINE_ARCH:C/mips(el)?/mips/} != "mips" && \ + ${MACHINE_CPUARCH} != "mips" && \ ${MACHINE_ARCH} != "powerpc" && ${MACHINE_CPUARCH} != "riscv" _cxgbe= cxgbe .endif