Smarter 'make buildkernel'?

Erik Trulsson ertr1013 at student.uu.se
Mon Mar 31 04:39:28 PST 2003


On Mon, Mar 31, 2003 at 06:20:04AM -0600, Conrad Sabatier wrote:
> 
> On 31-Mar-2003 Erik Trulsson wrote:
> > On Sun, Mar 30, 2003 at 04:21:57PM -0800, Paul Hoffman wrote:
> >> Hi again. Is there a way to get 'make buildkernel' in /usr/src to not 
> >> rebuild things that it already compiled? I'm playing around on a 
> >> not-very-fast laptop, and the rebuilds take forever.
> > 
> > 'make -DNOCLEAN buildkernel' should do the trick.
> 
> That should be -DNO_KERNELCLEAN.

Either should work fine.
As far as I can tell by reading the makefiles the difference is that
-DNOCLEAN is for both buildworld and buildkernel, while
-DNO_KERNELCLEAN is just for buildkernel, i.e. -DNOCLEAN essentially
implies -DNO_KERNELCLEAN.
If you are just doing a buildkernel it does not matter which is used.


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013 at student.uu.se


More information about the freebsd-questions mailing list