summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-02-24 20:09:16 +0000
committerru <ru@FreeBSD.org>2003-02-24 20:09:16 +0000
commite88feebb7665a0b911ae6b59c24672e01219a9ee (patch)
treeb48cfbf13959013f92432932bedf5bb13a1011f0 /Makefile.inc1
parent5a2e3e0dfe41a66d6f9dfea1ce7ff12be391993a (diff)
downloadFreeBSD-src-e88feebb7665a0b911ae6b59c24672e01219a9ee.zip
FreeBSD-src-e88feebb7665a0b911ae6b59c24672e01219a9ee.tar.gz
Ensure that build-tools end up in the object directory different
from the source directory. (This mostly affects the RELENG_4's ``make release'' release.5 target, where "rtermcap" build-tool for release/sysinstall ends up in the source directory and later steps of release.5 wipe it out.) Spotted by: jhay
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 3b8c838..56ec42f 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -660,7 +660,9 @@ build-tools:
${_libroken4} ${_libkrb5} lib/libncurses ${_share} \
${_aicasm} usr.bin/awk usr.bin/file usr.sbin/sysinstall
${ECHODIR} "===> ${_tool}"; \
- cd ${.CURDIR}/${_tool}; ${MAKE} DIRPRFX=${_tool}/ build-tools
+ cd ${.CURDIR}/${_tool}; \
+ ${MAKE} DIRPRFX=${_tool}/ obj; \
+ ${MAKE} DIRPRFX=${_tool}/ build-tools
.endfor
#
OpenPOWER on IntegriCloud