summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2000-01-04 14:12:12 +0000
committermarcel <marcel@FreeBSD.org>2000-01-04 14:12:12 +0000
commit8768919ebd5aa0ae0960cf2435dc361f00013753 (patch)
tree4a3388dfe27a9203d0e2c468d4a090cce6d09be4 /Makefile.inc1
parent71adbdbe1afd64efe13457f38b20baa8dd9758e0 (diff)
downloadFreeBSD-src-8768919ebd5aa0ae0960cf2435dc361f00013753.zip
FreeBSD-src-8768919ebd5aa0ae0960cf2435dc361f00013753.tar.gz
Add btxld to the list of cross-tools on machines that don't have it
natively (ie non-i386 architectures).
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