summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc18
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 5ff8332..1d34835 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; \
OpenPOWER on IntegriCloud