diff options
author | mux <mux@FreeBSD.org> | 2002-11-06 17:40:13 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2002-11-06 17:40:13 +0000 |
commit | 6a634df29088acdc84f365adc9ede2707a165672 (patch) | |
tree | d5c3a0e0997e1c35386cbdd7929a872eb7dfbb04 /sys/conf | |
parent | 86d546ca0e3bdc57ad6fabe2013cf42f16a19a1b (diff) | |
download | FreeBSD-src-6a634df29088acdc84f365adc9ede2707a165672.zip FreeBSD-src-6a634df29088acdc84f365adc9ede2707a165672.tar.gz |
In the !DEBUG case, we were passing foo.ko two times on the
rm -f command line when doing a make clean. Fix this.
Reviewed by: ru
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/kmod.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 76bdf12..497c00d 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -181,7 +181,11 @@ ${_ILINKS}: ${ECHO} ${.TARGET} "->" $$path ; \ ln -s $$path ${.TARGET} -CLEANFILES+= ${PROG} ${FULLPROG} ${KMOD}.kld ${OBJS} ${_ILINKS} symb.tmp tmp.o +CLEANFILES+= ${PROG} ${KMOD}.kld ${OBJS} ${_ILINKS} symb.tmp tmp.o + +.if defined(DEBUG) +CLEANFILES+= ${FULLPROG} +.endif .if !target(install) |