Module Name:    src
Committed By:   jmcneill
Date:           Sun Nov 10 22:08:58 UTC 2013

Modified Files:
        src/sys/arch/usermode/modules/syscallemu: Makefile

Log Message:
use MACHINE_CPU instead of MACHINE_ARCH


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/usermode/modules/syscallemu/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/usermode/modules/syscallemu/Makefile
diff -u src/sys/arch/usermode/modules/syscallemu/Makefile:1.4 src/sys/arch/usermode/modules/syscallemu/Makefile:1.5
--- src/sys/arch/usermode/modules/syscallemu/Makefile:1.4	Sun Nov 10 19:58:38 2013
+++ src/sys/arch/usermode/modules/syscallemu/Makefile	Sun Nov 10 22:08:58 2013
@@ -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 @@ M?=	${S}/modules
 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>

Reply via email to