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

David O'Brien obrien at FreeBSD.org
Mon Apr 25 07:30:47 PDT 2005


On Mon, Apr 25, 2005 at 08:06:56AM +0300, Ruslan Ermilov wrote:
> On Sun, Apr 24, 2005 at 01:15:34PM -0700, David O'Brien wrote:
> > On Fri, Apr 22, 2005 at 05:42:50PM +0000, Ruslan Ermilov wrote:
> > > ru          2005-04-22 17:42:50 UTC
> > > 
> > >   FreeBSD src repository
> > > 
> > >   Modified files:
> > >     usr.sbin/config      main.c 
> > >   Log:
> > >   Ask that "make cleandepend" be run before "make depend", now that
> > >   we don't do this automatically.
> > 
> > *sigh*.
> > 
> > So now the steps are:
> >     make cleandepend
> >     make depend
> >     make
> > 
> > That is just ridiculous.  Computers are to automate tasks, not increase
> > the effort for humans.  Please back out the commits that require 'make
> > cleandepend' in addition to 'make depend'.
> > 
> No.  You wanted (and others have agreed) that "make depend" should behave
> similarly in kernel and userland builds,

Yes.

> i.e., to not redundantly rebuild
> the .depend file every time "make depend" is run.

Nope, not once did I say that.  I wanted 'make modules-depend' to be as
robust as 'make kernel-depend' was.

> The steps are like above only when you do incremental builds AND use the
> NO_CLEAN option.

The trouble I ran into with modules building had nothing to do with
'NO_CLEAN' as I didn't use it.

> Even that, the "cleandepend" will only be necessary in
> rare cases, when problems that started this discussion arise (i.e.,
> header or source files disappear).

If 'make depend' isn't 100% garenteed to work, we should make sure it
100% works.

> If you need automation, use "make buildkernel", or stop using NO_CLEAN.

I didn't use 'NO_CLEAN' for the kernel build, yet you keep bringing up
that I am.
 
-- 
-- David  (obrien at FreeBSD.org)


More information about the cvs-src mailing list