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 Lepore 2019-06-06 15:21:36 +00:00
parent fbc27301ba
commit 3aad8ca854
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348741

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