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:
parent
b0ca5f031d
commit
1d19afde95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55417
@ -443,14 +443,18 @@ build-tools:
|
|||||||
_elf2exe= usr.sbin/elf2exe
|
_elf2exe= usr.sbin/elf2exe
|
||||||
.endif
|
.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...
|
# XXX - MACHINE should actually be TARGET. But we don't set that...
|
||||||
.if ${TARGET_ARCH} == "i386" && ${MACHINE} == "pc98"
|
.if ${TARGET_ARCH} == "i386" && ${MACHINE} == "pc98"
|
||||||
_aout_tools= usr.bin/size usr.bin/strip gnu/usr.bin/as gnu/usr.bin/ld
|
_aout_tools= usr.bin/size usr.bin/strip gnu/usr.bin/as gnu/usr.bin/ld
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
cross-tools:
|
cross-tools:
|
||||||
.for _tool in ${_aout_tools} ${_elf2exe} usr.bin/genassym usr.bin/gensetdefs \
|
.for _tool in ${_aout_tools} ${_btxld} ${_elf2exe} usr.bin/genassym \
|
||||||
gnu/usr.bin/binutils usr.bin/objformat gnu/usr.bin/cc
|
usr.bin/gensetdefs gnu/usr.bin/binutils usr.bin/objformat gnu/usr.bin/cc
|
||||||
cd ${.CURDIR}/${_tool}; \
|
cd ${.CURDIR}/${_tool}; \
|
||||||
${MAKE} obj; \
|
${MAKE} obj; \
|
||||||
${MAKE} depend; \
|
${MAKE} depend; \
|
||||||
|
Loading…
Reference in New Issue
Block a user