freebsd-nq/usr.sbin/mpsutil/Makefile
Baptiste Daroussin 3e8918911e mpsutil/mprutil: add flash subcommand
the flash subcommand allows to save/update firmware and bios for LSI Fusion-MPT
2/3 controllers (mps(4) and mpr(4))

Tested by:	allanjude
Reviewed by:	wblock (manpage)
Relnotes:	yes
Sponsored by:	Gandi.net
Differential Revision:	https://reviews.freebsd.org/D4026
2015-11-17 20:42:59 +00:00

23 lines
396 B
Makefile

# $FreeBSD$
PROG= mpsutil
SRCS= mps_cmd.c mps_flash.c mps_show.c mpsutil.c
MAN= mpsutil.8
WARNS?= 3
#LIBADD= cam util
LINKS= ${BINDIR}/mpsutil ${BINDIR}/mprutil
MLINKS= mpsutil.8 mprutil.8
CFLAGS+= -I${.CURDIR}/../../sys -I. -DUSE_MPT_IOCTLS
# Avoid dirdep dependency on libutil
CFLAGS+= -I${SRCTOP}/lib/libutil
# Here be dragons
.ifdef DEBUG
CFLAGS+= -DDEBUG
.endif
.include <bsd.prog.mk>