cvs commit: src/usr.sbin/config main.c

Warner Losh imp at bsdimp.com
Fri Apr 22 13:10:46 PDT 2005


From: Ruslan Ermilov <ru at freebsd.org>
Subject: Re: cvs commit: src/usr.sbin/config main.c
Date: Fri, 22 Apr 2005 23:03:41 +0300

> On Fri, Apr 22, 2005 at 12:57:12PM -0600, Warner Losh wrote:
> > From: Marcel Moolenaar <marcel at xcllnt.net>
> > Subject: Re: cvs commit: src/usr.sbin/config main.c
> > Date: Fri, 22 Apr 2005 11:49:22 -0700
> > 
> > > On Fri, Apr 22, 2005 at 08:53:24PM +0300, Ruslan Ermilov wrote:
> > > > On Fri, Apr 22, 2005 at 11:46:15AM -0600, Warner Losh wrote:
> > > > > >   Ask that "make cleandepend" be run before "make depend", now that
> > > > > >   we don't do this automatically.
> > > > > >   
> > > > > >   Suggested by:   bde
> > > > > 
> > > > > I think this is a regression in the building of the kernel that's not
> > > > > desirable.  We should fix make depend to just cope with files that
> > > > > have gone away, which is all that's needed here.
> > > > > 
> > > > The day this gets fixed this message can go away.  Up until now,
> > > > you have kept your ideas how to do this in secret (despite me
> > > > asking you).  ;)
> > > 
> > > What exactly is broken? I don't see a breakage, even when source
> > > files disappeared. I assume I must be forgetting something or not
> > > doing everything right.
> > 
> > when an include file is removed, make depend can fail to recreate
> > .depend in the modules.
> > 
> This is only a problem with NO_CLEAN builds, and it's not limited
> to just modules -- I often saw this problem with the world builds.

No.  That's false.  It is also a problem when NO_CLEAN isn't defined.
I never define it for building a kernel.

Warner



More information about the cvs-src mailing list