diff options
author | ru <ru@FreeBSD.org> | 2003-03-31 12:58:33 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-03-31 12:58:33 +0000 |
commit | c5376b3ca5d22438663ed31f8f781516e42efea7 (patch) | |
tree | 2e0900f62c6f3188db6ed6f8ec371dd0b30987dc /Makefile.inc1 | |
parent | 487a8f2e0ba225233f0521d6b8418679f796ae32 (diff) | |
download | FreeBSD-src-c5376b3ca5d22438663ed31f8f781516e42efea7.zip FreeBSD-src-c5376b3ca5d22438663ed31f8f781516e42efea7.tar.gz |
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
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index acd117a..4687c6e 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}; \ |