From c5376b3ca5d22438663ed31f8f781516e42efea7 Mon Sep 17 00:00:00 2001 From: ru Date: Mon, 31 Mar 2003 12:58:33 +0000 Subject: [PATCH] Slightly improve buildworld times by excluding crunchide(1) and kgzip(8) from the list of cross-tools during the normal, non-"make release" buildworld. Also, don't gratuitously build them, btxld(8) and elf2aout(1) for native architecture builds, since they have no known boostrapping issues along the supported upgrade path. Prodded by: peter --- Makefile.inc1 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index acd117a43e42..4687c6e13696 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -657,24 +657,30 @@ build-tools: # # cross-tools: Build cross-building tools # -.if ${TARGET_ARCH} == "alpha" && ${MACHINE_ARCH} != "alpha" +.if ${TARGET_ARCH} == "alpha" && ${TARGET_ARCH} != ${MACHINE_ARCH} _elf2exe= usr.sbin/elf2exe .endif -.if ${TARGET_ARCH} == "i386" +.if ${TARGET_ARCH} == "i386" && ${TARGET_ARCH} != ${MACHINE_ARCH} _btxld= usr.sbin/btxld +.if defined(RELEASEDIR) _kgzip= usr.sbin/kgzip .endif +.endif -.if ${TARGET_ARCH} == "sparc64" +.if ${TARGET_ARCH} == "sparc64" && ${TARGET_ARCH} != ${MACHINE_ARCH} _elf2aout= usr.bin/elf2aout .endif +.if defined(RELEASEDIR) +_crunchide= usr.sbin/crunch/crunchide +.endif + _xlint= usr.bin/xlint/lint1 usr.bin/xlint/lint2 usr.bin/xlint/xlint cross-tools: .for _tool in ${_btxld} ${_elf2aout} ${_elf2exe} \ - gnu/usr.bin/binutils usr.sbin/crunch/crunchide \ + gnu/usr.bin/binutils ${_crunchide} \ gnu/usr.bin/cc ${_xlint} ${_kgzip} ${ECHODIR} "===> ${_tool}"; \ cd ${.CURDIR}/${_tool}; \