sys/modules "make clean" seems broken again

Warner Losh imp at bsdimp.com
Thu Nov 19 23:42:52 UTC 2015


On Thu, Nov 19, 2015 at 11:12 AM, John Baldwin <jhb at freebsd.org> wrote:

> On Thursday, November 19, 2015 09:13:06 AM Sean Bruno wrote:
> > I thought I fixed this a year or two ago, but now a "make clean" in
> > sys/modules seems to leave bus_if.h device_if.h and pci_if.h in the
> > directory.
> >
> > Should I just add these to the clean targets?
>
> Blame Warner as his MFILES changes broke this.  In particular, see r287263
> which turned off cleaning these up.  I'm not sure what that broke that
> caused it to be disabled.
>
> Your change is a gross hack though.
>

Yes. The reason I had to break it was that there were a few files named
_if.c and _if.h
in the tree that would get deleted when make clean was run in the modules.

I'll take another run at fixing this. Sean's "fix" is a horrible hack.

Warner


More information about the freebsd-current mailing list