Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src install elf2ecoff for all mips64 systems. it's needed for s...



details:   https://anonhg.NetBSD.org/src/rev/c967bc5dcc3e
branches:  trunk
changeset: 767173:c967bc5dcc3e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jul 10 08:43:50 2011 +0000

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

diffstat:

 tools/Makefile             |   5 +++--
 usr.bin/elf2ecoff/Makefile |  11 +++--------
 2 files changed, 6 insertions(+), 10 deletions(-)

diffs (42 lines):

diff -r 5c43e03ee1ca -r c967bc5dcc3e tools/Makefile
--- a/tools/Makefile    Sun Jul 10 08:42:55 2011 +0000
+++ b/tools/Makefile    Sun Jul 10 08:43:50 2011 +0000
@@ -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+=       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
 
diff -r 5c43e03ee1ca -r c967bc5dcc3e usr.bin/elf2ecoff/Makefile
--- a/usr.bin/elf2ecoff/Makefile        Sun Jul 10 08:42:55 2011 +0000
+++ b/usr.bin/elf2ecoff/Makefile        Sun Jul 10 08:43:50 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index