Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/usermode/modules/syscallemu use MACHINE_CPU instead...
details: https://anonhg.NetBSD.org/src/rev/52faefd4af1a
branches: trunk
changeset: 791267:52faefd4af1a
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Nov 10 22:08:58 2013 +0000
description:
use MACHINE_CPU instead of MACHINE_ARCH
diffstat:
sys/arch/usermode/modules/syscallemu/Makefile | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r 3129d90852aa -r 52faefd4af1a sys/arch/usermode/modules/syscallemu/Makefile
--- a/sys/arch/usermode/modules/syscallemu/Makefile Sun Nov 10 20:59:27 2013 +0000
+++ b/sys/arch/usermode/modules/syscallemu/Makefile Sun Nov 10 22:08:58 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2013/11/10 19:58:38 jmcneill Exp $
+# $NetBSD: Makefile,v 1.5 2013/11/10 22:08:58 jmcneill Exp $
.include <bsd.own.mk>
@@ -11,12 +11,12 @@
KMOD= syscallemu
SRCS= syscallemu.c
-.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+.if ${MACHINE_CPU} == "i386" || ${MACHINE_CPU} == "x86_64"
SRCS+= syscallemu_x86.c
-.elif ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "earm"
+.elif ${MACHINE_CPU} == "arm"
SRCS+= syscallemu_arm.c
.else
-.error ${MACHINE_ARCH} not implemented
+.error ${MACHINE_CPU} not implemented
.endif
.include <bsd.kmodule.mk>
Home |
Main Index |
Thread Index |
Old Index