Module Name:    src
Committed By:   mrg
Date:           Sun Jul 10 08:43:51 UTC 2011

Modified Files:
        src/tools: Makefile
        src/usr.bin/elf2ecoff: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/tools/Makefile
cvs rdiff -u -r1.11 -r1.12 src/usr.bin/elf2ecoff/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/Makefile
diff -u src/tools/Makefile:1.146 src/tools/Makefile:1.147
--- src/tools/Makefile:1.146	Tue Jun 21 02:15:41 2011
+++ src/tools/Makefile	Sun Jul 10 08:43:51 2011
@@ -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
 

Index: src/usr.bin/elf2ecoff/Makefile
diff -u src/usr.bin/elf2ecoff/Makefile:1.11 src/usr.bin/elf2ecoff/Makefile:1.12
--- src/usr.bin/elf2ecoff/Makefile:1.11	Mon Dec 14 00:43:05 2009
+++ src/usr.bin/elf2ecoff/Makefile	Sun Jul 10 08:43:50 2011
@@ -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

Reply via email to