1f4782a4c1
Firmware can be reprogrammed on devices from Hitachi, HP, IBM, Plextor, Quantum, and Seagate. At least one device from each manufacturer has been tested with some version of this code, and it has been used to update thousands of drives so far. The man page suggests having a backup of the drive's data, and the operation must be confirmed, either interactively or on the command line. (This is the same as the confirmation on the format command.) This work is largely derived from fwprog.c by Andre Albsmeier. Submitted by: Nima Misaghian Sponsored by: Sandvine Incorporated MFC after: 3 months
19 lines
329 B
Makefile
19 lines
329 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= camcontrol
|
|
SRCS= camcontrol.c fwdownload.c util.c
|
|
.if !defined(RELEASE_CRUNCH)
|
|
SRCS+= modeedit.c
|
|
.else
|
|
CFLAGS+= -DMINIMALISTIC
|
|
.endif
|
|
# This is verboten
|
|
.if ${MACHINE_CPUARCH} == "arm"
|
|
WARNS?= 3
|
|
.endif
|
|
DPADD= ${LIBCAM} ${LIBSBUF} ${LIBUTIL}
|
|
LDADD= -lcam -lsbuf -lutil
|
|
MAN= camcontrol.8
|
|
|
|
.include <bsd.prog.mk>
|