mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
3e8918911e
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
23 lines
396 B
Makefile
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>
|