aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2017-10-29 01:21:02 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2017-10-29 01:21:02 +0000
commit67d2f51ad6c05243f7a6f3b7bcabdec51035025e (patch)
tree5c7bb91fea1547da32e309233861d40febd0111c /Makefile.inc1
parenta3d90ddfb223a36bdee0a191c9e3c8874d3d4936 (diff)
downloadsrc-67d2f51ad6c05243f7a6f3b7bcabdec51035025e.tar.gz
src-67d2f51ad6c05243f7a6f3b7bcabdec51035025e.zip
Move some LIBCOMPAT tmpdir logic setup to its own build target.
Its own build target was already handling mtree extractions just as _worldtmp did, so the other cleaning of the tmpdir makes sense here as well. Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=325074
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc18
1 files changed, 0 insertions, 8 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index d19f84f73726..b2c745c5990d 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -817,20 +817,12 @@ _worldtmp: .PHONY
@echo "--------------------------------------------------------------"
.if !defined(NO_CLEAN)
rm -rf ${WORLDTMP}
-.if defined(LIBCOMPAT)
- rm -rf ${LIBCOMPATTMP}
-.endif
.else
.if exists(${WORLDTMP})
@echo ">>> Deleting stale files in build tree..."
${_+_}cd ${.CURDIR}; ${WMAKE} -DBATCH_DELETE_OLD_FILES \
delete-old delete-old-libs >/dev/null
.endif
-.if defined(LIBCOMPAT) && exists(${LIBCOMPATTMP})
- ${_+_}cd ${.CURDIR}; ${WMAKE} -DBATCH_DELETE_OLD_FILES \
- DESTDIR=${LIBCOMPATTMP} \
- delete-old delete-old-libs >/dev/null
-.endif
rm -rf ${WORLDTMP}/legacy/usr/include
.if ${USING_SYSTEM_COMPILER} == "yes"
.for cc in cc c++