Add btxld to the list of cross-tools on machines that don't have it

natively (ie non-i386 architectures).
This commit is contained in:
Marcel Moolenaar 2000-01-04 14:12:12 +00:00
parent b0ca5f031d
commit 1d19afde95
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55417

View File

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