Module Name:    src
Committed By:   martin
Date:           Mon Jan 25 12:44:52 UTC 2016

Modified Files:
        src/sys/modules/dtrace/lockstat: Makefile

Log Message:
Map "earm" to armv5


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/modules/dtrace/lockstat/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/modules/dtrace/lockstat/Makefile
diff -u src/sys/modules/dtrace/lockstat/Makefile:1.5 src/sys/modules/dtrace/lockstat/Makefile:1.6
--- src/sys/modules/dtrace/lockstat/Makefile:1.5	Sun Jan 24 16:44:16 2016
+++ src/sys/modules/dtrace/lockstat/Makefile	Mon Jan 25 12:44:52 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2016/01/24 16:44:16 christos Exp $
+#	$NetBSD: Makefile,v 1.6 2016/01/25 12:44:52 martin Exp $
 
 .include "../../Makefile.inc"
 
@@ -11,7 +11,9 @@ CPPFLAGS+=	-I${NETBSDSRCDIR}/external/cd
 CPPFLAGS+=	-I${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common
 CPPFLAGS+=	-DKDTRACE_HOOKS
 
-.if !empty(MACHINE_ARCH:Mearm*)
+.if ${MACHINE_ARCH} == "earm"
+ARMV:= 5
+.elif !empty(MACHINE_ARCH:Mearm*)
 ARMV:= ${MACHINE_ARCH:S/earmv//:S/eb//:S/hf//}
 .elif !empty(MACHINE_ARCH:Marm*)
 ARMV:= ${MACHINE_ARCH:S/armv//:S/eb//:S/hf//}

Reply via email to