Fix 'make -n' for {reinstall,distribute}kernel.
PR: 201779 Sponsored by: Dell
This commit is contained in:
parent
7847756781
commit
3faecc70e8
@ -1442,7 +1442,7 @@ reinstallkernel reinstallkernel.debug: _installcheck_kernel .PHONY
|
|||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
@echo ">>> Installing kernel ${INSTALLKERNEL}"
|
@echo ">>> Installing kernel ${INSTALLKERNEL}"
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
|
${_+_}cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
|
||||||
${CROSSENV} PATH=${TMPPATH} \
|
${CROSSENV} PATH=${TMPPATH} \
|
||||||
${MAKE} ${IMAKE_INSTALL} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel//}
|
${MAKE} ${IMAKE_INSTALL} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel//}
|
||||||
.endif
|
.endif
|
||||||
@ -1451,7 +1451,7 @@ reinstallkernel reinstallkernel.debug: _installcheck_kernel .PHONY
|
|||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
@echo ">>> Installing kernel ${_kernel}"
|
@echo ">>> Installing kernel ${_kernel}"
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
cd ${KRNLOBJDIR}/${_kernel}; \
|
${_+_}cd ${KRNLOBJDIR}/${_kernel}; \
|
||||||
${CROSSENV} PATH=${TMPPATH} \
|
${CROSSENV} PATH=${TMPPATH} \
|
||||||
${MAKE} ${IMAKE_INSTALL} KERNEL=${INSTKERNNAME}.${_kernel} ${.TARGET:S/kernel//}
|
${MAKE} ${IMAKE_INSTALL} KERNEL=${INSTKERNNAME}.${_kernel} ${.TARGET:S/kernel//}
|
||||||
.endfor
|
.endfor
|
||||||
@ -1467,7 +1467,7 @@ distributekernel distributekernel.debug: .PHONY
|
|||||||
.if defined(NO_ROOT)
|
.if defined(NO_ROOT)
|
||||||
@echo "#${MTREE_MAGIC}" > ${DESTDIR}/${DISTDIR}/kernel.premeta
|
@echo "#${MTREE_MAGIC}" > ${DESTDIR}/${DISTDIR}/kernel.premeta
|
||||||
.endif
|
.endif
|
||||||
cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
|
${_+_}cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
|
||||||
${IMAKEENV} ${IMAKE_INSTALL:S/METALOG/kernel.premeta/} \
|
${IMAKEENV} ${IMAKE_INSTALL:S/METALOG/kernel.premeta/} \
|
||||||
${IMAKE_MTREE} PATH=${TMPPATH} ${MAKE} KERNEL=${INSTKERNNAME} \
|
${IMAKE_MTREE} PATH=${TMPPATH} ${MAKE} KERNEL=${INSTKERNNAME} \
|
||||||
DESTDIR=${INSTALL_DDIR}/kernel \
|
DESTDIR=${INSTALL_DDIR}/kernel \
|
||||||
@ -1482,7 +1482,7 @@ distributekernel distributekernel.debug: .PHONY
|
|||||||
.if defined(NO_ROOT)
|
.if defined(NO_ROOT)
|
||||||
@echo "#${MTREE_MAGIC}" > ${DESTDIR}/${DISTDIR}/kernel.${_kernel}.premeta
|
@echo "#${MTREE_MAGIC}" > ${DESTDIR}/${DISTDIR}/kernel.${_kernel}.premeta
|
||||||
.endif
|
.endif
|
||||||
cd ${KRNLOBJDIR}/${_kernel}; \
|
${_+_}cd ${KRNLOBJDIR}/${_kernel}; \
|
||||||
${IMAKEENV} ${IMAKE_INSTALL:S/METALOG/kernel.${_kernel}.premeta/} \
|
${IMAKEENV} ${IMAKE_INSTALL:S/METALOG/kernel.${_kernel}.premeta/} \
|
||||||
${IMAKE_MTREE} PATH=${TMPPATH} ${MAKE} \
|
${IMAKE_MTREE} PATH=${TMPPATH} ${MAKE} \
|
||||||
KERNEL=${INSTKERNNAME}.${_kernel} \
|
KERNEL=${INSTKERNNAME}.${_kernel} \
|
||||||
|
Loading…
Reference in New Issue
Block a user