summaryrefslogtreecommitdiffstats
path: root/sys/modules/Makefile
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2011-03-23 08:27:57 +0000
committerjeff <jeff@FreeBSD.org>2011-03-23 08:27:57 +0000
commitb34673d9c34709d2e0e38a453dfc5a6082ad34a2 (patch)
tree59bf4210accf71c965b31f30f56e0b3a36d40f87 /sys/modules/Makefile
parentbecd8ff499be28f5359ad9fdca0b85ea9be14da9 (diff)
downloadFreeBSD-src-b34673d9c34709d2e0e38a453dfc5a6082ad34a2.zip
FreeBSD-src-b34673d9c34709d2e0e38a453dfc5a6082ad34a2.tar.gz
- Move ofed modules into the i386 and amd64 specific sections to fix
universe on other architectures.
Diffstat (limited to 'sys/modules/Makefile')
-rw-r--r--sys/modules/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 19e80db..4ed9811 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -418,6 +418,12 @@ _linprocfs= linprocfs
_linsysfs= linsysfs
_linux= linux
_mse= mse
+.if ${MK_OFED} != "no" || defined(ALL_MODULES)
+_mlx4= mlx4
+_mlx4ib= mlx4ib
+_mlxen= mlxen
+_mthca= mthca
+.endif
.if ${MK_NCP} != "no"
_ncp= ncp
.endif
@@ -566,6 +572,12 @@ _linprocfs= linprocfs
_linsysfs= linsysfs
_linux= linux
_mly= mly
+.if ${MK_OFED} != "no" || defined(ALL_MODULES)
+_mlx4= mlx4
+_mlx4ib= mlx4ib
+_mlxen= mlxen
+_mthca= mthca
+.endif
_ndis= ndis
_nfe= nfe
_nve= nve
@@ -673,13 +685,6 @@ _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
@@ -697,6 +702,5 @@ afterinstall:
kldxref ${DESTDIR}${KMODDIR}; \
fi
.endif
-#endif
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud