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 Handle also the earm{ev, hf}...
details: https://anonhg.NetBSD.org/src/rev/b448059a642d
branches: trunk
changeset: 343221:b448059a642d
user: christos <christos%NetBSD.org@localhost>
date: Mon Jan 25 13:31:48 2016 +0000
description:
Handle also the earm{ev,hf}...
diffstat:
sys/modules/dtrace/lockstat/Makefile | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (27 lines):
diff -r 7d4bf4690142 -r b448059a642d sys/modules/dtrace/lockstat/Makefile
--- a/sys/modules/dtrace/lockstat/Makefile Mon Jan 25 12:44:52 2016 +0000
+++ b/sys/modules/dtrace/lockstat/Makefile Mon Jan 25 13:31:48 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2016/01/25 12:44:52 martin Exp $
+# $NetBSD: Makefile,v 1.7 2016/01/25 13:31:48 christos Exp $
.include "../../Makefile.inc"
@@ -11,12 +11,12 @@
CPPFLAGS+= -I${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common
CPPFLAGS+= -DKDTRACE_HOOKS
-.if ${MACHINE_ARCH} == "earm"
+.if !empty(MACHINE_ARCH:Mearmv*)
+ARMV:= ${MACHINE_ARCH:S/earmv//:S/eb//:S/hf//}
+.elif !empty(MACHINE_ARCH:Marmv*)
+ARMV:= ${MACHINE_ARCH:S/armv//:S/eb//:S/hf//}
+.elif !empry(MACHINE_ARCH:Mearm*)
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//}
.else
ARMV:= 0
.endif
Home |
Main Index |
Thread Index |
Old Index