diff options
author | glebius <glebius@FreeBSD.org> | 2015-09-01 11:59:12 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2015-09-01 11:59:12 +0000 |
commit | 11f241e2c39edf1054cb2192f9b4d6540584cd44 (patch) | |
tree | ec3993cded6b20719642528b4d80231a5952339a | |
parent | 1f4d5a846eaff935ce2b67dd5dd7415ef5069c8a (diff) | |
download | FreeBSD-src-11f241e2c39edf1054cb2192f9b4d6540584cd44.zip FreeBSD-src-11f241e2c39edf1054cb2192f9b4d6540584cd44.tar.gz |
Not only build with buildworld, but also install with installworld all
alternative kernels.
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
-rw-r--r-- | Makefile.inc1 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index ed325b4..7e2c381 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1127,6 +1127,14 @@ reinstallkernel reinstallkernel.debug: _installcheck_kernel 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) |