On Sun, Aug 15, 2004 at 09:53:30AM -0700, Brooks Davis wrote:
> On Sat, Aug 14, 2004 at 10:03:37AM +0200, Geert Hendrickx wrote:
> > On Wed, Aug 11, 2004 at 02:47:14PM +0200, Simon L. Nielsen wrote:
> > > On 2004.08.11 00:36:06 +0200, Geert Hendrickx wrote:
> > > > Hi, 
> > > > 
> > > > is there any way (or could it be implemented) to rebuild only the
> > > > changes in world and kernel sources after a cvsup?  DragonFly BSD
> > > > features "make quickworld" and "make quickkernel" which does exactly
> > > > that.  
> > > 
> > > You can do that already:
> > > 
> > > make buildworld buildkernel -DNOCLEAN
> > 
> > Does adding "NOCLEAN=true" to /etc/make.conf have the same effect?  
> 
> Yes, but it's likely to attract flames because NOCLEAN does fail.  If
> you forget it's in your make.conf there's a good chance you could report
> a bug that isn't a bug a waste a bunch of developer time.
> 
Yes, please don't use NOCLEAN routinely.  It's certainly okay to use it
if you started a clean build, it failed for some reason, you corrected
a cause, and want to resume.  If may also work if you've updated the
sources, but no guarantees -- often it has been shown that "make clean"
is necessary to remove some old cruft that now conflicts with the
new sources.  For example, if compiler sources have been updated, it
can generate different code, but foo.o will only depend on foo.c, and
will not be rebuilt if you use -DNOCLEAN.  In short, don't use it if
you don't fully understand all the consequences.  ;)


Cheers,
-- 
Ruslan Ermilov
[EMAIL PROTECTED]
FreeBSD committer

Attachment: pgpGOBsMPHhOT.pgp
Description: PGP signature

Reply via email to