diff --git a/Makefile.inc1 b/Makefile.inc1 index 82e4acfb42b6..8c0cda1671b3 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -521,7 +521,8 @@ buildkernel: # installkernel reinstallkernel: cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \ - ${CROSSENV} ${MAKE} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel$//} + ${CROSSENV} PATH=${TMPPATH} \ + ${MAKE} KERNEL=${INSTKERNNAME} ${.TARGET:S/kernel$//} # # update