svn commit: r287358 - head
Gleb Smirnoff
glebius at FreeBSD.org
Tue Sep 1 11:59:13 UTC 2015
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)
More information about the svn-src-head
mailing list