From ab250b02ba4ca29572a29dedc9e6276cba5a66db Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Thu, 13 Jun 2024 20:02:32 -0400 Subject: [PATCH] bnxt: Use a simpler test for 32-bit platforms Suggested by: jrtc27 Fixes: c867ba72889d ("bnxt: Do not compile on 32-bit platforms") --- sys/modules/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/modules/Makefile b/sys/modules/Makefile index d3ef4c63a41c..7ce956957fd5 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -442,8 +442,7 @@ SUBDIR+= dtrace SUBDIR+= opensolaris .endif -.if ${MACHINE_ARCH} != "i386" && ${MACHINE_CPUARCH} != "arm" && \ - ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "powerpcspe" +.if !${MACHINE_ABI:Mlong32} _bnxt= bnxt .endif