Module Name: src
Committed By: matt
Date: Thu Jul 18 21:11:47 UTC 2013
Modified Files:
src/usr.bin/elf2aout: Makefile
Log Message:
Use ${MACHINE_CPU} == "m68k"
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/elf2aout/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/elf2aout/Makefile
diff -u src/usr.bin/elf2aout/Makefile:1.8 src/usr.bin/elf2aout/Makefile:1.9
--- src/usr.bin/elf2aout/Makefile:1.8 Tue Mar 30 07:26:23 2010
+++ src/usr.bin/elf2aout/Makefile Thu Jul 18 21:11:47 2013
@@ -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