From 3b1f0b5d11df6702fec056d62660553f1145adf4 Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Mon, 21 Mar 2011 21:35:19 +0000 Subject: [PATCH] - For now, disable ofed module build unless MK_OFED is set. --- sys/modules/Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 0925a21a3c1b..19e80db6a52c 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -185,9 +185,9 @@ SUBDIR= ${_3dfx} \ mfi \ mii \ mlx \ - mlx4 \ - mlx4ib \ - mlxen \ + ${_mlx4} \ + ${_mlx4ib} \ + ${_mlxen} \ ${_mly} \ mmc \ mmcsd \ @@ -198,7 +198,7 @@ SUBDIR= ${_3dfx} \ msdosfs_iconv \ ${_mse} \ msk \ - mthca \ + ${_mthca} \ mvs \ mwl \ mwlfw \ @@ -673,6 +673,13 @@ _zfs= zfs .endif .endif +.if ${MK_OFED} != "no" || defined(ALL_MODULES) +_mthca= mthca +_mlx4= mlx4 +_mlx4ib= mlx4ib +_mlxen= mlxen +.endif + .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) SUBDIR=${MODULES_OVERRIDE} .endif @@ -690,5 +697,6 @@ afterinstall: kldxref ${DESTDIR}${KMODDIR}; \ fi .endif +#endif .include