Evil hack to ensure dtrace lockstat module builds on arm.

This commit is contained in:
riz 2015-09-10 19:57:48 +00:00
parent 3922b03876
commit caa8fbc640

View File

@ -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>