summaryrefslogtreecommitdiffstats
path: root/sys/modules/raidframe
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2003-12-29 09:03:38 +0000
committerbde <bde@FreeBSD.org>2003-12-29 09:03:38 +0000
commitf804519a77c5890374d440baec50b56ff2194e40 (patch)
tree08b209f7a71fbbb688c427dac1f26e47bf8f5611 /sys/modules/raidframe
parent7572aecb448bfec7877680f1397da5aee1e9cdf7 (diff)
downloadFreeBSD-src-f804519a77c5890374d440baec50b56ff2194e40.zip
FreeBSD-src-f804519a77c5890374d440baec50b56ff2194e40.tar.gz
Fixed some style bugs (mainly the bad examples @echo, NOMAN, and non-use
of ${.TARGET}). This was the last instances of @echo in module Makefiles after it was removed in sio/Makefile. NOMAN is nonsense in module Makefiles, and was removed, but came back here and in too many other places.
Diffstat (limited to 'sys/modules/raidframe')
-rw-r--r--sys/modules/raidframe/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/sys/modules/raidframe/Makefile b/sys/modules/raidframe/Makefile
index d4ff5dc..74256f1 100644
--- a/sys/modules/raidframe/Makefile
+++ b/sys/modules/raidframe/Makefile
@@ -1,9 +1,8 @@
# $FreeBSD$
-KMOD= raidframe
-NOMAN=
.PATH: ${.CURDIR}/../../dev/raidframe
+KMOD= raidframe
SRCS= rf_acctrace.c rf_alloclist.c rf_aselect.c rf_callback.c \
rf_chaindecluster.c rf_copyback.c rf_cvscan.c rf_dagdegrd.c \
rf_dagdegwr.c rf_dagffrd.c rf_dagffwr.c rf_dagfuncs.c rf_dagutils.c \
@@ -17,16 +16,13 @@ SRCS= rf_acctrace.c rf_alloclist.c rf_aselect.c rf_callback.c \
rf_raid4.c rf_raid5.c rf_raid5_rotatedspare.c rf_reconbuffer.c \
rf_reconmap.c rf_reconstruct.c rf_reconutil.c rf_revent.c \
rf_shutdown.c rf_sstf.c rf_states.c rf_stripelocks.c rf_strutils.c \
- rf_threadstuff.c rf_utils.c rf_freebsdkintf.c
-
-SRCS+= opt_raid.h vnode_if.h
-RF_DEBUG?= 0
+ rf_threadstuff.c rf_utils.c rf_freebsdkintf.c \
+ opt_raid.h vnode_if.h
RF_AUTOCONFIG?= 1
-
-#CFLAGS+= -g
+RF_DEBUG?= 0
opt_raid.h:
- @echo "#define RAID_AUTOCONFIG ${RF_AUTOCONFIG}" > opt_raid.h
- @echo "#define RAID_DEBUG ${RF_DEBUG}" >> opt_raid.h
+ echo "#define RAID_AUTOCONFIG ${RF_AUTOCONFIG}" > ${.TARGET}
+ echo "#define RAID_DEBUG ${RF_DEBUG}" >> ${.TARGET}
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud