Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/elf2aout Use ${MACHINE_CPU} == "m68k"



details:   https://anonhg.NetBSD.org/src/rev/ec185903de69
branches:  trunk
changeset: 788723:ec185903de69
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jul 18 21:11:47 2013 +0000

description:
Use ${MACHINE_CPU} == "m68k"

diffstat:

 usr.bin/elf2aout/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (17 lines):

diff -r b9a779838ef5 -r ec185903de69 usr.bin/elf2aout/Makefile
--- a/usr.bin/elf2aout/Makefile Thu Jul 18 21:03:07 2013 +0000
+++ b/usr.bin/elf2aout/Makefile Thu Jul 18 21:11:47 2013 +0000
@@ -1,9 +1,10 @@
-#      $NetBSD: Makefile,v 1.8 2010/03/30 07:26:23 mrg Exp $
+#      $NetBSD: Makefile,v 1.9 2013/07/18 21:11:47 matt Exp $
 #      from: @(#)Makefile      5.4 (Berkeley) 5/11/90
 
+.include <bsd.own.mk>  # for MACHINE_CPU
+
 # Build ELF to {ecoff, aout} tools on m68k/powerpc, for kernels with old amigappc bootblocks.
-.if (${MACHINE_ARCH} == "m68000" || \
-     ${MACHINE_ARCH} == "m68k" || \
+.if (${MACHINE_CPU} == "m68k" || \
      ${MACHINE_ARCH} == "powerpc" || \
      ${MACHINE_ARCH} == "powerpc64")
 PROG=  elf2aout



Home | Main Index | Thread Index | Old Index