cvs commit: src/sys/modules/aic7xxx/aicasm Makefile

Robert Watson rwatson at FreeBSD.org
Mon Jan 3 03:34:46 PST 2005


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




More information about the cvs-all mailing list