cvs commit: src/release Makefile

John Baldwin jhb at freebsd.org
Thu Mar 9 18:43:18 UTC 2006


On Thursday 09 March 2006 13:35, John Baldwin wrote:
> On Thursday 09 March 2006 12:11, Sam Leffler wrote:
> > sam         2006-03-09 17:11:18 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     release              Makefile 
> >   Log:
> >   handle KERNELS as before
> >   
> >   Submitted by:   ru, andrew
> 
> Does this actually work though?  I thought if you did
> 
> make KERNELS=FOO release
> 
> That any KERNELS?= or KERNELS+= lines would be ignored and the
> value on the command line would take precedence.  Alternatively,
> if you do 'env KERNELS=foo make release' then KERNELS+= would
> work.

nm, I see it does work because the += is only really used inside
the nested make.  Note that in the default case you are going to
build the kernels twice though I think. :)  Because KERNELS will be
set to 'GENERIC SMP' in the outer make (and thus set that way in
the 'mk' script) and then the 'make doRELEASE' will add 'GENERIC SMP'
to it again.
 
-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-src mailing list