Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2005 07:30:43 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/config main.c
Message-ID:  <20050425143043.GA93171@dragon.NUXI.org>
In-Reply-To: <20050425050656.GA42466@ip.net.ua>
References:  <200504221742.j3MHgoG9084110@repoman.freebsd.org> <20050424201534.GA74964@dragon.NUXI.org> <20050425050656.GA42466@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org)



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