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
This commit is contained in:
Ruslan Ermilov 2003-03-31 12:58:33 +00:00
parent c57404fee3
commit fcdc271389
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112868

View File

@ -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}; \