Module Name: src Committed By: riz Date: Thu Sep 10 19:57:48 UTC 2015
Modified Files: src/sys/modules/dtrace/lockstat: Makefile Log Message: Evil hack to ensure dtrace lockstat module builds on arm. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 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.1 src/sys/modules/dtrace/lockstat/Makefile:1.2 --- src/sys/modules/dtrace/lockstat/Makefile:1.1 Sun Mar 8 04:15:22 2015 +++ src/sys/modules/dtrace/lockstat/Makefile Thu Sep 10 19:57:48 2015 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2015/03/08 04:15:22 christos Exp $ +# $NetBSD: Makefile,v 1.2 2015/09/10 19:57:48 riz Exp $ .include "../../Makefile.inc" @@ -10,5 +10,8 @@ SRCS= lockstat.c CPPFLAGS+= -I${NETBSDSRCDIR}/external/cddl/osnet/sys CPPFLAGS+= -I${NETBSDSRCDIR}/external/cddl/osnet/dist/uts/common CPPFLAGS+= -DKDTRACE_HOOKS +.if (!empty(MACHINE_ARCH:Mearm*) || !empty(MACHINE_ARCH:Marm*)) +CPPFLAGS+= -D__HAVE_CPU_COUNTER +.endif .include <bsd.kmodule.mk>