Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 1995 13:13:27 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        CVS-commiters@freefall.cdrom.com, cvs-share@freefall.cdrom.com, roberto@freefall.cdrom.com
Subject:   Re: cvs commit: src/share/doc/FAQ freebsd-faq.sgml
Message-ID:  <199505172013.NAA12318@gndrsh.aac.dev.com>
In-Reply-To: <199505171918.FAA27418@godzilla.zeta.org.au> from "Bruce Evans" at May 18, 95 05:18:05 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> >  Modified:    share/doc/FAQ  freebsd-faq.sgml
> >  Log:
> >  Change the "make all" into "make depend all" in 6.0.6 (section on kernel
> >  building).
> >  
> >  Submitted by:	Rodney Grimes
> 
> This should be "make clean && make depend && make.  The `make clean'
> step can often be omitted (...) and in any case should be run before
> `config -n', not immediately after.  The `make depend' step can be
> omitted except when the kernel has already been built and some source
> file has changed since `depend' was last made".
> 
> "make depend all" is often wrong and is certainly wrong for a kernel
> immediately after it has been config'ed.  `make' doesn't rescan the
                                                           ^^^^^^^^^
> dependencies after the `make depend' step, so "make depend all" is
> more or less equivalent to "make all; make depend".  "all" is noise
> except when other targets are specifed.
> 

He is right... forgot about that, but since we are not telling the
user about the -n option in this example the sequence as it is now
is valid, but would be safer if written

	make depend && make all		#Do not substitute make depend all

> Bruce
> 


-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                   Custom computers for FreeBSD



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