Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/modules/dtrace/lockstat Map "earm" to armv5
details: https://anonhg.NetBSD.org/src/rev/7d4bf4690142
branches: trunk
changeset: 343220:7d4bf4690142
user: martin <martin%NetBSD.org@localhost>
date: Mon Jan 25 12:44:52 2016 +0000
description:
Map "earm" to armv5
diffstat:
sys/modules/dtrace/lockstat/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 8fec09eaeb46 -r 7d4bf4690142 sys/modules/dtrace/lockstat/Makefile
--- a/sys/modules/dtrace/lockstat/Makefile Mon Jan 25 12:25:38 2016 +0000
+++ b/sys/modules/dtrace/lockstat/Makefile Mon Jan 25 12:44:52 2016 +0000
@@ -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/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//}
Home |
Main Index |
Thread Index |
Old Index