Module Name: src
Committed By: matt
Date: Sat Sep 5 03:48:22 UTC 2009
Modified Files:
src/usr.bin/elf2ecoff [matt-nb5-mips64]: Makefile
Log Message:
Don't build if N64.
To generate a diff of this commit:
cvs rdiff -u -r1.10.46.1 -r1.10.46.2 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/usr.bin/elf2ecoff/Makefile
diff -u src/usr.bin/elf2ecoff/Makefile:1.10.46.1 src/usr.bin/elf2ecoff/Makefile:1.10.46.2
--- src/usr.bin/elf2ecoff/Makefile:1.10.46.1 Wed Aug 26 03:35:41 2009
+++ src/usr.bin/elf2ecoff/Makefile Sat Sep 5 03:48:22 2009
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.10.46.1 2009/08/26 03:35:41 matt Exp $
+# $NetBSD: Makefile,v 1.10.46.2 2009/09/05 03:48:22 matt Exp $
# from: @(#)Makefile 5.4 (Berkeley) 5/11/90
.include <bsd.own.mk>
# 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")
+ ((${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "mips64eb") && \
+ ${CPUFLAGS:M-mabi=64} == ""))
PROG= elf2ecoff