Restore functionality to pack several kernels into release. All
kernels specified by KERNCONF are built and packed into release. The first one is packed into kernel.txz, all others to kernel.CONFIG.txz. The first one is installed on bootables in /boot.
This commit is contained in:
parent
886e862866
commit
d6ba7d93ba
@ -887,10 +887,21 @@ distributekernel distributekernel.debug:
|
||||
${CROSSENV} PATH=${TMPPATH} ${MAKE} KERNEL=${INSTKERNNAME} \
|
||||
DESTDIR=${DESTDIR}/${DISTDIR}/kernel \
|
||||
${.TARGET:S/distributekernel/install/}
|
||||
.for _kernel in ${BUILDKERNELS:S/${INSTALLKERNEL}//}
|
||||
cd ${KRNLOBJDIR}/${_kernel}; \
|
||||
${CROSSENV} PATH=${TMPPATH} ${MAKE} \
|
||||
KERNEL=${INSTKERNNAME}.${_kernel} \
|
||||
DESTDIR=${DESTDIR}/${DISTDIR}/kernel.${_kernel} \
|
||||
${.TARGET:S/distributekernel/install/}
|
||||
.endfor
|
||||
|
||||
packagekernel:
|
||||
${_+_}cd ${DESTDIR}/${DISTDIR}/kernel; \
|
||||
cd ${DESTDIR}/${DISTDIR}/kernel; \
|
||||
tar cvJf ${DESTDIR}/${DISTDIR}/kernel.txz .
|
||||
.for _kernel in ${BUILDKERNELS:S/${INSTALLKERNEL}//}
|
||||
cd ${DESTDIR}/${DISTDIR}/kernel.${_kernel}; \
|
||||
tar cvJf ${DESTDIR}/${DISTDIR}/kernel.${_kernel}.txz .
|
||||
.endfor
|
||||
|
||||
#
|
||||
# doxygen
|
||||
|
@ -75,7 +75,7 @@ base.txz:
|
||||
kernel.txz:
|
||||
-mkdir ${DISTDIR}
|
||||
cd ${WORLDDIR} && ${IMAKE} distributekernel packagekernel DISTDIR=${DISTDIR}
|
||||
mv ${DISTDIR}/kernel.txz ${.OBJDIR}
|
||||
mv ${DISTDIR}/kernel*.txz ${.OBJDIR}
|
||||
|
||||
src.txz:
|
||||
-mkdir -p ${DISTDIR}/usr
|
||||
|
Loading…
Reference in New Issue
Block a user