summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-02 14:03:40 +0000
committerru <ru@FreeBSD.org>2002-12-02 14:03:40 +0000
commitb08bf1dfd2ce41af261b4753e8f422a83c274f1b (patch)
tree0ecf5ac38407e0f79c65c6d74171f44352b71b93 /Makefile.inc1
parent7d779d20273f42c0d713d10c667eebdb484239e7 (diff)
downloadFreeBSD-src-b08bf1dfd2ce41af261b4753e8f422a83c274f1b.zip
FreeBSD-src-b08bf1dfd2ce41af261b4753e8f422a83c274f1b.tar.gz
For installkernel, use the fresh tools (if we've built them with
buildworld). Reviewed by: imp, marcel Approved by: re (rwatson)
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc13
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 82e4acf..8c0cda1 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
OpenPOWER on IntegriCloud