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
4 changed files with 40 additions and 22 deletions

View File

@ -199,6 +199,7 @@ __DEFAULT_NO_OPTIONS = \
LOADER_LUA \ LOADER_LUA \
NAND \ NAND \
OFED \ OFED \
OFED_EXTRA \
OPENLDAP \ OPENLDAP \
REPRODUCIBLE_BUILD \ REPRODUCIBLE_BUILD \
RPCBIND_WARMSTART_SUPPORT \ RPCBIND_WARMSTART_SUPPORT \
@ -466,6 +467,10 @@ MK_KERBEROS:= no
MK_AUTHPF:= no MK_AUTHPF:= no
.endif .endif
.if ${MK_OFED} == "no"
MK_OFED_EXTRA:= no
.endif
.if ${MK_PORTSNAP} == "no" .if ${MK_PORTSNAP} == "no"
# freebsd-update depends on phttpget from portsnap # freebsd-update depends on phttpget from portsnap
MK_FREEBSD_UPDATE:= no 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$ # $FreeBSD$
.include <src.opts.mk>
SUBDIR= \ SUBDIR= \
libibverbs \ libibverbs \
librdmacm \ librdmacm \
opensm \
infiniband-diags infiniband-diags
SUBDIR.${MK_OFED_EXTRA}+= opensm
SUBDIR_PARALLEL= SUBDIR_PARALLEL=
.include <bsd.subdir.mk> .include <bsd.subdir.mk>

View File

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