summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2015-08-28 13:57:30 +0000
committerimp <imp@FreeBSD.org>2015-08-28 13:57:30 +0000
commit6a6ecc2475486cfbe02473a560f23b626f3777e3 (patch)
tree12ecbe22aa1fb3d0ef1f44983fa881ecad9274b1 /sys/conf
parent5275e0a56db58223d9fe8850cf2eada2aa266651 (diff)
downloadFreeBSD-src-6a6ecc2475486cfbe02473a560f23b626f3777e3.zip
FreeBSD-src-6a6ecc2475486cfbe02473a560f23b626f3777e3.tar.gz
Fix cleaning of files generated from .m sources.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kmod.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 87451df..215aed7 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -360,11 +360,9 @@ __MPATH!=find ${SYSDIR:tA}/ -name \*_if.m
_MPATH=${__MPATH:H:O:u}
.endif
.PATH.m: ${_MPATH}
-.for _s in ${SRCS:M*_if.[ch]}
-.if eixsts(${_s:R}.m})
-CLEANFILES+= ${_s}
-.endif
-.endfor # _s
+.for _i in ${SRCS:M*_if.[ch]}
+CLEANFILES+= ${_i}
+.endfor # _i
.m.c: ${SYSDIR}/tools/makeobjops.awk
${AWK} -f ${SYSDIR}/tools/makeobjops.awk ${.IMPSRC} -c
OpenPOWER on IntegriCloud