diff options
author | kmacy <kmacy@FreeBSD.org> | 2008-05-06 02:31:27 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2008-05-06 02:31:27 +0000 |
commit | 628a16340e83bd7f6a5b475521f4f0fe51f27785 (patch) | |
tree | a0a3b75ffcb0800ca9547df5f21320b2d946df40 /sys/modules/cxgb | |
parent | c2c95e2752ca946c238ad8cfd07cf5d54889a46f (diff) | |
download | FreeBSD-src-628a16340e83bd7f6a5b475521f4f0fe51f27785.zip FreeBSD-src-628a16340e83bd7f6a5b475521f4f0fe51f27785.tar.gz |
only build iw_cxgb on i386 and amd64
Diffstat (limited to 'sys/modules/cxgb')
-rw-r--r-- | sys/modules/cxgb/Makefile | 10 |
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> |