From 673d1626c78c086f5d2186aa59400a13caffb872 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Sun, 18 Jan 2015 14:04:55 +0000 Subject: 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(+) (limited to 'sys/modules') diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 0b21ca6e02836..211c8e7508ca0 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 -- cgit v1.3