install elf2ecoff for all mips64 systems. it's needed for stand.

This commit is contained in:
mrg 2011-07-10 08:43:50 +00:00
parent e296792cca
commit 29bf026bea
2 changed files with 6 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.146 2011/06/21 02:15:41 mrg Exp $
# $NetBSD: Makefile,v 1.147 2011/07/10 08:43:51 mrg Exp $
.include <bsd.own.mk>
@ -107,7 +107,8 @@ SUBDIR+= macppc-fixcoff
SUBDIR+= powerpc-mkbootimage
.endif
.if (${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb")
.if (${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \
${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "mips64eb")
SUBDIR+= mips-elf2ecoff
.endif

View File

@ -1,16 +1,11 @@
# $NetBSD: Makefile,v 1.11 2009/12/14 00:43:05 matt Exp $
# $NetBSD: Makefile,v 1.12 2011/07/10 08:43:50 mrg Exp $
# from: @(#)Makefile 5.4 (Berkeley) 5/11/90
.include <bsd.own.mk>
ABI64:= ${CPUFLAGS:M-mabi=64:M-mabi=o64}
# Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs.
.if (${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \
((${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "mips64eb") && \
!defined(HOSTPROG) && empty(ABI64)))
# Build ELF to ecoff tools on mips, for old bootblocks/PROMs.
.if ${MACHINE_CPU} == "mips"
PROG= elf2ecoff
.endif
MAN= elf2ecoff.1