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)
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to