diff options
author | hselasky <hselasky@FreeBSD.org> | 2015-01-18 14:04:55 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2015-01-18 14:04:55 +0000 |
commit | 814696f72012ae32daa581d7a1d5253a9b439b09 (patch) | |
tree | bd7174234b1737b4fa2244e86225f9013252e3af | |
parent | 37bcfe05fd20c4d24128c4993a4cd4da13b9a2e2 (diff) | |
download | FreeBSD-src-814696f72012ae32daa581d7a1d5253a9b439b09.zip FreeBSD-src-814696f72012ae32daa581d7a1d5253a9b439b09.tar.gz |
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@
-rw-r--r-- | sys/modules/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 0b21ca6..211c8e7 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 |