Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144383351
D16230.id45635.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D16230.id45635.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D16230: Enable OFED build by default.
Attached
Detach File
Event Timeline
Log In to Comment