Move mostly useless examples binaries from OFED, as well as the Subnet

Manager, under the new option WITH_OFED_EXTRA, disabled by default.

Reviewed by:	bdrewery, hselasky (previous version)
Sponsored by:	Mellanox Technologies
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D16230
This commit is contained in:
Konstantin Belousov 2018-07-20 23:52:11 +00:00
parent 9db3eed934
commit abbe7d5acd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336569
4 changed files with 40 additions and 22 deletions

View File

@ -199,6 +199,7 @@ __DEFAULT_NO_OPTIONS = \
LOADER_LUA \
NAND \
OFED \
OFED_EXTRA \
OPENLDAP \
REPRODUCIBLE_BUILD \
RPCBIND_WARMSTART_SUPPORT \
@ -466,6 +467,10 @@ MK_KERBEROS:= no
MK_AUTHPF:= no
.endif
.if ${MK_OFED} == "no"
MK_OFED_EXTRA:= no
.endif
.if ${MK_PORTSNAP} == "no"
# freebsd-update depends on phttpget from portsnap
MK_FREEBSD_UPDATE:= no

View File

@ -0,0 +1,4 @@
.\" $FreeBSD$
Set to build the non-essential components of the
.Dq "OpenFabrics Enterprise Distribution"
Infiniband software stack, mostly examples.

View File

@ -1,11 +1,14 @@
# $FreeBSD$
.include <src.opts.mk>
SUBDIR= \
libibverbs \
librdmacm \
opensm \
infiniband-diags
SUBDIR.${MK_OFED_EXTRA}+= opensm
SUBDIR_PARALLEL=
.include <bsd.subdir.mk>

View File

@ -1,27 +1,33 @@
# $FreeBSD$
.include <src.opts.mk>
SUBDIR= \
dump_fts \
ibaddr \
ibcacheedit \
ibccconfig \
ibccquery \
iblinkinfo \
ibmirror \
ibnetdiscover \
ibping \
ibportstate \
ibqueryerrors \
ibroute \
ibstat \
ibsysstat \
ibtracert \
perfquery \
saquery \
sminfo \
smpdump \
smpquery \
vendstat
ibstat
.if ${MK_OFED_EXTRA} != "no"
SUBDIR+= \
dump_fts \
ibaddr \
ibcacheedit \
ibccconfig \
ibccquery \
iblinkinfo \
ibmirror \
ibnetdiscover \
ibping \
ibportstate \
ibqueryerrors \
ibroute \
ibsysstat \
ibtracert \
perfquery \
saquery \
sminfo \
smpdump \
smpquery \
vendstat
.endif
SUBDIR_PARALLEL=