Page MenuHomeFreeBSD

D16230.id45635.diff
No OneTemporary

D16230.id45635.diff

Index: head/share/mk/src.opts.mk
===================================================================
--- head/share/mk/src.opts.mk
+++ head/share/mk/src.opts.mk
@@ -199,6 +199,7 @@
LOADER_LUA \
NAND \
OFED \
+ OFED_EXTRA \
OPENLDAP \
REPRODUCIBLE_BUILD \
RPCBIND_WARMSTART_SUPPORT \
@@ -464,6 +465,10 @@
.if ${MK_PF} == "no"
MK_AUTHPF:= no
+.endif
+
+.if ${MK_OFED} == "no"
+MK_OFED_EXTRA:= no
.endif
.if ${MK_PORTSNAP} == "no"
Index: head/tools/build/options/WITH_OFED_EXTRA
===================================================================
--- head/tools/build/options/WITH_OFED_EXTRA
+++ head/tools/build/options/WITH_OFED_EXTRA
@@ -0,0 +1,4 @@
+.\" $FreeBSD$
+Set to build the non-essential components of the
+.Dq "OpenFabrics Enterprise Distribution"
+Infiniband software stack, mostly examples.
Index: head/usr.bin/ofed/Makefile
===================================================================
--- head/usr.bin/ofed/Makefile
+++ head/usr.bin/ofed/Makefile
@@ -1,10 +1,13 @@
# $FreeBSD$
+.include <src.opts.mk>
+
SUBDIR= \
libibverbs \
librdmacm \
- opensm \
infiniband-diags
+
+SUBDIR.${MK_OFED_EXTRA}+= opensm
SUBDIR_PARALLEL=
Index: head/usr.bin/ofed/infiniband-diags/Makefile
===================================================================
--- head/usr.bin/ofed/infiniband-diags/Makefile
+++ head/usr.bin/ofed/infiniband-diags/Makefile
@@ -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=

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 9, 4:12 AM (2 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28535081
Default Alt Text
D16230.id45635.diff (2 KB)

Event Timeline