svn commit: r287263 - head/sys/conf

Warner Losh imp at bsdimp.com
Thu Sep 24 21:23:57 UTC 2015


I don't think so. I'd like to fix this more properly. However, without this
hack, anything in the tree that ends in _if.c or _if.h will get deleted,
which is bad as you might imagine. There's two or three drivers that
are built as modules that fit this pattern.

I really don't want to back out r258068. Having a list of all the places
to look for _if.m files is really annoying...

Warner

On Thu, Sep 24, 2015 at 12:56 PM, Bryan Drewery <bdrewery at freebsd.org>
wrote:

> On 8/28/2015 9:29 AM, Warner Losh wrote:
> > Author: imp
> > Date: Fri Aug 28 16:29:38 2015
> > New Revision: 287263
> > URL: https://svnweb.freebsd.org/changeset/base/287263
> >
> > Log:
> >   Comment out cleaning files, since it cleans too much.
> >
> > Modified:
> >   head/sys/conf/kmod.mk
> >
> > Modified: head/sys/conf/kmod.mk
> >
> ==============================================================================
> > --- head/sys/conf/kmod.mk     Fri Aug 28 16:23:03 2015        (r287262)
> > +++ head/sys/conf/kmod.mk     Fri Aug 28 16:29:38 2015        (r287263)
> > @@ -361,7 +361,8 @@ _MPATH=${__MPATH:H:O:u}
> >  .endif
> >  .PATH.m: ${_MPATH}
> >  .for _i in ${SRCS:M*_if.[ch]}
> > -CLEANFILES+= ${_i}
> > +#removes too much, comment out until it's more constrained.
> > +#CLEANFILES+=        ${_i}
> >  .endfor # _i
> >  .m.c:        ${SYSDIR}/tools/makeobjops.awk
> >       ${AWK} -f ${SYSDIR}/tools/makeobjops.awk ${.IMPSRC} -c
> >
>
> Rather than this should r285068 be reverted to restore CLEANFILES
> handling of these generated files?
>
> --
> Regards,
> Bryan Drewery
>
>


More information about the svn-src-all mailing list