Module Name: src
Committed By: christos
Date: Wed Jan 2 13:29:22 UTC 2019
Modified Files:
src/tools: Makefile
Log Message:
use MACHINE_CPU for elf2aout
To generate a diff of this commit:
cvs rdiff -u -r1.197 -r1.198 src/tools/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.197 src/tools/Makefile:1.198
--- src/tools/Makefile:1.197 Mon Dec 31 08:35:15 2018
+++ src/tools/Makefile Wed Jan 2 08:29:22 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.197 2018/12/31 13:35:15 christos Exp $
+# $NetBSD: Makefile,v 1.198 2019/01/02 13:29:22 christos Exp $
.include <bsd.own.mk>
.include <bsd.endian.mk>
@@ -173,11 +173,11 @@ SUBDIR+= macppc-fixcoff
SUBDIR+= powerpc-mkbootimage
.endif
-.if ${MACHINE_ARCH} == "arm"
+.if ${MACHINE_CPU} == "arm"
SUBDIR+= arm-elf2aout
.endif
-.if ${MACHINE_ARCH} == "m68k"
+.if ${MACHINE_CPU} == "m68k"
SUBDIR+= m68k-elf2aout
.endif