summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2008-05-06 02:31:27 +0000
committerkmacy <kmacy@FreeBSD.org>2008-05-06 02:31:27 +0000
commit628a16340e83bd7f6a5b475521f4f0fe51f27785 (patch)
treea0a3b75ffcb0800ca9547df5f21320b2d946df40 /sys/modules
parentc2c95e2752ca946c238ad8cfd07cf5d54889a46f (diff)
downloadFreeBSD-src-628a16340e83bd7f6a5b475521f4f0fe51f27785.zip
FreeBSD-src-628a16340e83bd7f6a5b475521f4f0fe51f27785.tar.gz
only build iw_cxgb on i386 and amd64
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/cxgb/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/modules/cxgb/Makefile b/sys/modules/cxgb/Makefile
index 9ed1f24..ed43eae 100644
--- a/sys/modules/cxgb/Makefile
+++ b/sys/modules/cxgb/Makefile
@@ -2,7 +2,15 @@
SUBDIR= cxgb
SUBDIR+= toecore
SUBDIR+= tom
-SUBDIR+= iw_cxgb
+SUBDIR+= ${_iw_cxgb}
SUBDIR+= cxgb_t3fw
+.if ${MACHINE_ARCH} == "i386"
+_iw_cxgb = iw_cxgb
+.endif
+
+.if ${MACHINE_ARCH} == "amd64"
+_iw_cxgb = iw_cxgb
+.endif
+
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud