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 ">>> Installing kernel ${INSTALLKERNEL}"
|
||||
@echo "--------------------------------------------------------------"
|
||||
cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
|
||||
${_+_}cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
|
||||
${CROSSENV} PATH=${TMPPATH} \
|
||||
${MAKE} ${IMAKE_INSTALL} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel//}
|
||||
.endif
|
||||
@ -1451,7 +1451,7 @@ reinstallkernel reinstallkernel.debug: _installcheck_kernel .PHONY
|
||||
@echo "--------------------------------------------------------------"
|
||||
@echo ">>> Installing kernel ${_kernel}"
|
||||
@echo "--------------------------------------------------------------"
|
||||
cd ${KRNLOBJDIR}/${_kernel}; \
|
||||
${_+_}cd ${KRNLOBJDIR}/${_kernel}; \
|
||||
${CROSSENV} PATH=${TMPPATH} \
|
||||
${MAKE} ${IMAKE_INSTALL} KERNEL=${INSTKERNNAME}.${_kernel} ${.TARGET:S/kernel//}
|
||||
.endfor
|
||||
@ -1467,7 +1467,7 @@ distributekernel distributekernel.debug: .PHONY
|
||||
.if defined(NO_ROOT)
|
||||
@echo "#${MTREE_MAGIC}" > ${DESTDIR}/${DISTDIR}/kernel.premeta
|
||||
.endif
|
||||
cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
|
||||
${_+_}cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
|
||||
${IMAKEENV} ${IMAKE_INSTALL:S/METALOG/kernel.premeta/} \
|
||||
${IMAKE_MTREE} PATH=${TMPPATH} ${MAKE} KERNEL=${INSTKERNNAME} \
|
||||
DESTDIR=${INSTALL_DDIR}/kernel \
|
||||
@ -1482,7 +1482,7 @@ distributekernel distributekernel.debug: .PHONY
|
||||
.if defined(NO_ROOT)
|
||||
@echo "#${MTREE_MAGIC}" > ${DESTDIR}/${DISTDIR}/kernel.${_kernel}.premeta
|
||||
.endif
|
||||
cd ${KRNLOBJDIR}/${_kernel}; \
|
||||
${_+_}cd ${KRNLOBJDIR}/${_kernel}; \
|
||||
${IMAKEENV} ${IMAKE_INSTALL:S/METALOG/kernel.${_kernel}.premeta/} \
|
||||
${IMAKE_MTREE} PATH=${TMPPATH} ${MAKE} \
|
||||
KERNEL=${INSTKERNNAME}.${_kernel} \
|
||||
|
Loading…
Reference in New Issue
Block a user