mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
dee3e845aa
relearning. Specifically, add subcommands to mfiutil(8) which allow the user to set the BBU and autolearn modes when the firmware supports it, and add a subcommand which kicks off a battery relearn. Reviewed by: sbruno, rstone Tested by: sbruno Approved by: rstone (co-mentor) MFC after: 2 weeks Sponsored by: Sandvine Incorporated
19 lines
311 B
Makefile
19 lines
311 B
Makefile
# $FreeBSD$
|
|
PROG= mfiutil
|
|
|
|
SRCS= mfiutil.c mfi_bbu.c mfi_cmd.c mfi_config.c mfi_drive.c mfi_evt.c \
|
|
mfi_flash.c mfi_patrol.c mfi_show.c mfi_volume.c
|
|
MAN8= mfiutil.8
|
|
|
|
CFLAGS+= -fno-builtin-strftime
|
|
|
|
DPADD= ${LIBUTIL}
|
|
LDADD= -lutil
|
|
|
|
# Here be dragons
|
|
.ifdef DEBUG
|
|
CFLAGS+= -DDEBUG
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|