rescue: Add bectl(8)

Requested by:	kevans, Shawn Webb
MFC after:	3 days
This commit is contained in:
kevans 2018-10-31 20:42:18 +00:00
parent 1f052ff0ad
commit 8a95c22c63

View File

@ -116,6 +116,7 @@ CRUNCH_PROGS_sbin+= routed rtquery
.endif .endif
.if ${MK_ZFS} != "no" .if ${MK_ZFS} != "no"
CRUNCH_PROGS_sbin+= bectl
CRUNCH_PROGS_sbin+= zfs CRUNCH_PROGS_sbin+= zfs
CRUNCH_PROGS_sbin+= zpool CRUNCH_PROGS_sbin+= zpool
CRUNCH_PROGS_usr.sbin+= zdb CRUNCH_PROGS_usr.sbin+= zdb
@ -127,6 +128,7 @@ CRUNCH_PROGS_usr.sbin+= zdb
CRUNCH_LIBS+= -l80211 -lalias -lcam -lncursesw -ldevstat -lipsec -llzma CRUNCH_LIBS+= -l80211 -lalias -lcam -lncursesw -ldevstat -lipsec -llzma
.if ${MK_ZFS} != "no" .if ${MK_ZFS} != "no"
CRUNCH_LIBS+= -lavl -lzpool -lzfs_core -lzfs -lnvpair -lpthread -luutil -lumem CRUNCH_LIBS+= -lavl -lzpool -lzfs_core -lzfs -lnvpair -lpthread -luutil -lumem
CRUNCH_LIBS+= -lbe
.else .else
# liblzma needs pthread # liblzma needs pthread
CRUNCH_LIBS+= -lpthread CRUNCH_LIBS+= -lpthread