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