diff options
author | ru <ru@FreeBSD.org> | 2003-03-11 11:45:43 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-03-11 11:45:43 +0000 |
commit | 1620c05a8d0e629f775d3a7dd201fc4822387ee4 (patch) | |
tree | a7c1258165b86e8473af6e1d335a71e2424089f1 /Makefile.inc1 | |
parent | a88b815b0805cd6a43776e97af0263e0149451e9 (diff) | |
download | FreeBSD-src-1620c05a8d0e629f775d3a7dd201fc4822387ee4.zip FreeBSD-src-1620c05a8d0e629f775d3a7dd201fc4822387ee4.tar.gz |
Convert kgzip(8) to be an i386 cross-tool. This is needed for
cross-releasing i386 on different architectures. This version
provides an i386 version of <a.out.h>, and handles endianness.
Tested on: alpha, sparc64
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 5f76d3a..acd117a 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -661,8 +661,9 @@ build-tools: _elf2exe= usr.sbin/elf2exe .endif -.if ${TARGET_ARCH} == "i386" && ${MACHINE_ARCH} != "i386" +.if ${TARGET_ARCH} == "i386" _btxld= usr.sbin/btxld +_kgzip= usr.sbin/kgzip .endif .if ${TARGET_ARCH} == "sparc64" @@ -674,7 +675,7 @@ _xlint= usr.bin/xlint/lint1 usr.bin/xlint/lint2 usr.bin/xlint/xlint cross-tools: .for _tool in ${_btxld} ${_elf2aout} ${_elf2exe} \ gnu/usr.bin/binutils usr.sbin/crunch/crunchide \ - gnu/usr.bin/cc ${_xlint} + gnu/usr.bin/cc ${_xlint} ${_kgzip} ${ECHODIR} "===> ${_tool}"; \ cd ${.CURDIR}/${_tool}; \ ${MAKE} DIRPRFX=${_tool}/ obj; \ |