Add cxgbetool(8) to the base system.

Move cxgbetool from tools/tools to usr.sbin. Compile and install it on
platforms where cxgbe(4) is built by default.  Knobs (WITH_CXGBETOOL and
WITHOUT_CXGBETOOL) have been added so that the user can override the
default setting.

Reviewed by:	ngie@, gnn@, bdrewery@
MFC after:	1 month
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D9854
This commit is contained in:
Navdeep Parhar
2017-03-03 03:11:58 +00:00
parent 401032c67d
commit 54912308c8
14 changed files with 45 additions and 9 deletions
+4
View File
@@ -895,6 +895,10 @@ DIRDEPS+= \
usr.sbin/blacklistd
.endif
.if ${MK_CXGBETOOL} != "no"
DIRDEPS+= usr.sbin/cxgbetool
.endif
.if ${MK_GPL_DTC} != "yes"
DIRDEPS+= usr.bin/dtc
.endif