From 814696f72012ae32daa581d7a1d5253a9b439b09 Mon Sep 17 00:00:00 2001 From: hselasky Date: Sun, 18 Jan 2015 14:04:55 +0000 Subject: [PATCH] Make the linuxapi module only build when WITH_OFED=YES is specified. There needs to be some more testing done before it is ready for all platforms and architectures. MFC after: 1 month Sponsored by: Mellanox Technologies Reported by: bz@ --- sys/modules/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 0b21ca6e028..211c8e7508c 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -502,7 +502,9 @@ _ipoib= ipoib _linprocfs= linprocfs _linsysfs= linsysfs _linux= linux +.if ${MK_OFED} != "no" _linuxapi= linuxapi +.endif _ndis= ndis .if ${MK_CDDL} != "no" || defined(ALL_MODULES) _opensolaris= opensolaris -- 2.45.0