Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2015 13:57:31 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287253 - head/sys/conf
Message-ID:  <201508281357.t7SDvVbu098200@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Aug 28 13:57:30 2015
New Revision: 287253
URL: https://svnweb.freebsd.org/changeset/base/287253

Log:
  Fix cleaning of files generated from .m sources.

Modified:
  head/sys/conf/kmod.mk

Modified: head/sys/conf/kmod.mk
==============================================================================
--- head/sys/conf/kmod.mk	Fri Aug 28 12:02:40 2015	(r287252)
+++ head/sys/conf/kmod.mk	Fri Aug 28 13:57:30 2015	(r287253)
@@ -360,11 +360,9 @@ __MPATH!=find ${SYSDIR:tA}/ -name \*_if.
 _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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508281357.t7SDvVbu098200>