From 8ff01f5d20a4c8d7b7fa2f718e825ed69ae152d9 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 20 May 2015 12:54:22 +0000 Subject: [PATCH] Avoid trying to build cxbge on 32-bit MIPS It lacks required 64-bit atomics. Reviewed by: imp (earlier version) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2585 --- sys/modules/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 14d166ff4a3a..7afc5a89012d 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -456,6 +456,7 @@ _txp= txp .endif .if ${MK_SOURCELESS_UCODE} != "no" && ${MACHINE_CPUARCH} != "arm" && \ + ${MACHINE_ARCH:C/mips(el)?/mips/} != "mips" && \ ${MACHINE_ARCH} != "powerpc" _cxgbe= cxgbe .endif