aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/mfiutil/Makefile
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2009-08-13 23:18:45 +0000
committerScott Long <scottl@FreeBSD.org>2009-08-13 23:18:45 +0000
commit763fae7918a4b9114569288039fe29a6e8a92ec6 (patch)
tree68082827fd365e0b39edf85651d90dae8694186c /usr.sbin/mfiutil/Makefile
parentdc6fbf65451a86f6c9bc72434dfe3415afac78da (diff)
downloadsrc-763fae7918a4b9114569288039fe29a6e8a92ec6.tar.gz
src-763fae7918a4b9114569288039fe29a6e8a92ec6.zip
ntroduce mfiutil, a basic utility for managing LSI SAS-RAID & Dell PERC5/6
controllers. Controller, array, and drive status can be checked, basic attributes can be changed, and arrays and spares can be created and deleted. Controller firmware can also be flashed. This does not replace MegaCLI, found in ports, as that is officially sanctioned and supported by LSI and includes vastly more functionality. However, mfiutil is open source and guaranteed to provide basic functionality, which can be especially useful if you have a problem and can't get MegaCLI to work. Approved by: re Obtained from: Yahoo! Inc.
Notes
Notes: svn path=/head/; revision=196200
Diffstat (limited to 'usr.sbin/mfiutil/Makefile')
-rw-r--r--usr.sbin/mfiutil/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/usr.sbin/mfiutil/Makefile b/usr.sbin/mfiutil/Makefile
new file mode 100644
index 000000000000..173048719d0c
--- /dev/null
+++ b/usr.sbin/mfiutil/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+PROG= mfiutil
+
+SRCS= mfiutil.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
+
+CFLAGS+= -fno-builtin-strftime
+WARNS?=3
+
+LDADD= -lutil
+
+# Here be dragons
+.ifdef DEBUG
+CFLAGS+= -DDEBUG
+.endif
+
+.include <bsd.prog.mk>