diff options
author | Warner Losh <imp@FreeBSD.org> | 2015-08-28 13:57:30 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2015-08-28 13:57:30 +0000 |
commit | 160c44fe958445a54c12479b5d9e3d0634759258 (patch) | |
tree | 12ecbe22aa1fb3d0ef1f44983fa881ecad9274b1 /sys/conf | |
parent | 725b72d5e045dd57f89968032dd62b56197093ea (diff) | |
download | src-160c44fe958445a54c12479b5d9e3d0634759258.tar.gz src-160c44fe958445a54c12479b5d9e3d0634759258.zip |
Fix cleaning of files generated from .m sources.
Notes
Notes:
svn path=/head/; revision=287253
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/kmod.mk | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 87451df3f915..215aed761662 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 |