From 1d19afde9548d6c998ab04a846d8e872d426c2c0 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Tue, 4 Jan 2000 14:12:12 +0000 Subject: [PATCH] Add btxld to the list of cross-tools on machines that don't have it natively (ie non-i386 architectures). --- Makefile.inc1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 5ff8332423e5..1d34835dcb71 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -443,14 +443,18 @@ build-tools: _elf2exe= usr.sbin/elf2exe .endif +.if ${TARGET_ARCH} == "i386" && ${MACHINE_ARCH} != "i386" +_btxld= usr.sbin/btxld +.endif + # XXX - MACHINE should actually be TARGET. But we don't set that... .if ${TARGET_ARCH} == "i386" && ${MACHINE} == "pc98" _aout_tools= usr.bin/size usr.bin/strip gnu/usr.bin/as gnu/usr.bin/ld .endif cross-tools: -.for _tool in ${_aout_tools} ${_elf2exe} usr.bin/genassym usr.bin/gensetdefs \ - gnu/usr.bin/binutils usr.bin/objformat gnu/usr.bin/cc +.for _tool in ${_aout_tools} ${_btxld} ${_elf2exe} usr.bin/genassym \ + usr.bin/gensetdefs gnu/usr.bin/binutils usr.bin/objformat gnu/usr.bin/cc cd ${.CURDIR}/${_tool}; \ ${MAKE} obj; \ ${MAKE} depend; \