On Tue, 1 Sep 2015 11:59:12 +0000 (UTC) Gleb Smirnoff <[email protected]> wrote:
> Author: glebius > Date: Tue Sep 1 11:59:12 2015 > New Revision: 287358 > URL: https://svnweb.freebsd.org/changeset/base/287358 > > Log: > Not only build with buildworld, but also install with installworld > all alternative kernels. > > Sponsored by: Netflix > Sponsored by: Nginx, Inc. > > Modified: > head/Makefile.inc1 > > Modified: head/Makefile.inc1 > ============================================================================== > --- head/Makefile.inc1 Tue Sep 1 11:46:13 2015 > (r287357) +++ head/Makefile.inc1 Tue Sep 1 11:59:12 > 2015 (r287358) @@ -1127,6 +1127,14 @@ reinstallkernel > reinstallkernel.debug: _ cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \ > ${CROSSENV} PATH=${TMPPATH} \ > ${MAKE} ${IMAKE_INSTALL} KERNEL=${INSTKERNNAME} > ${.TARGET:S/kernel//} +.for _kernel in ${BUILDKERNELS:[2..-1]} > + @echo > "--------------------------------------------------------------" > + @echo ">>> Installing kernel ${_kernel}" > + @echo > "--------------------------------------------------------------" > + cd ${KRNLOBJDIR}/${_kernel}; \ > + ${CROSSENV} PATH=${TMPPATH} \ > + ${MAKE} ${IMAKE_INSTALL} > KERNEL=${INSTKERNNAME}.${_kernel} ${.TARGET:S/kernel//} +.endfor > > distributekernel distributekernel.debug: > .if empty(INSTALLKERNEL) This is probably not doing what you think it is doing. Now, when installing my kernel, built from config file <blah>, I get it installed into /boot/kernel, which is good and normal, and I get an extra and highly undesired copy in boot/kernel.<blah>. That one I didn't ask for and would rather see it gone. -- Alexander Kabaev
pgpJTFtAWDkSe.pgp
Description: OpenPGP digital signature
