Don't attempt to include hwpmc support for armv6, we're missing some of the

necessary support functions in cpu-v6.h, and it may be that the only armv6
platform we support (RPi, the bcm2835 SOC) is incapable of supporting hwpmc.

Reported by:	dim@
This commit is contained in:
Ian Lepore 2019-06-12 16:05:20 +00:00
parent 664104b4af
commit 3a3ab50916

View File

@ -22,7 +22,7 @@ SRCS+= hwpmc_x86.c hwpmc_uncore.c
SRCS+= hwpmc_arm.c
.endif
.if ${MACHINE_ARCH:Marmv[67]*} != ""
.if ${MACHINE_ARCH} == "armv7"
SRCS+= hwpmc_armv7.c
.endif