Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2005 11:31:09 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Nate Lawson <nate@root.org>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: cvs commit: src/sys/modules/aic7xxx/aicasm Makefile
Message-ID:  <Pine.NEB.3.96L.1050103112832.33949C-100000@fledge.watson.org>
In-Reply-To: <41D8F48C.50904@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2 Jan 2005, Nate Lawson wrote:

> > This only happens when your installed share/mk is out of date and
> > you're not using buildkernel (i.e. the documented upgrade method ;-).
> 
> Using buildkernel loses the benefits of "make depend", requiring a full
> build of everything.  It would be nice if the UPDATING notes would list
> when buildkernel is required. 

The following semi-documented make buildkernel options in
src/Makefile.inc1 might be useful:

#       -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel
#       -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel
#       -DNO_KERNELDEPEND do not run ${MAKE} depend in ${MAKE} buildkernel

I agree though that it's far more convenient to simply cd to the kernel
build directory and be selective, because -- if nothing else -- the above
options are hard to spell.

While we don't promise forward build compatibility outside of the
structure of buildworld (compiler changes, etc, make that impossible),
it's convenient to maintain it over trivial changes, and I think we can do
that in this case restore the convenience of compile-directory local
builds. 

Robert N M Watson




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1050103112832.33949C-100000>