For armv6 and armv7, build hwpmc_armv7.c as well as the base hwpmc_arm.c.

Submitted by:	Arnaud YSMAL <arnaud.ysmal@stormshield.eu>
This commit is contained in:
ian 2019-06-06 15:21:36 +00:00
parent 3c8e6f0701
commit 0aaeefeb00

View File

@ -22,6 +22,10 @@ SRCS+= hwpmc_x86.c hwpmc_uncore.c
SRCS+= hwpmc_arm.c
.endif
.if ${MACHINE_ARCH:Marmv[67]*} != ""
SRCS+= hwpmc_armv7.c
.endif
.if ${MACHINE_CPUARCH} == "i386"
SRCS+= hwpmc_amd.c hwpmc_core.c hwpmc_intel.c
SRCS+= hwpmc_tsc.c hwpmc_x86.c hwpmc_uncore.c