diff options
author | Ian Lepore <ian@FreeBSD.org> | 2019-06-06 15:21:36 +0000 |
---|---|---|
committer | Ian Lepore <ian@FreeBSD.org> | 2019-06-06 15:21:36 +0000 |
commit | 3aad8ca854445317a13bc9c63d50dadbf8bf0bea (patch) | |
tree | d376edf25cf76d0d0769a6088ad72a371ed88892 /sys/modules | |
parent | fbc27301ba4280886011dfb924c78402829b57cc (diff) | |
download | src-3aad8ca854445317a13bc9c63d50dadbf8bf0bea.tar.gz src-3aad8ca854445317a13bc9c63d50dadbf8bf0bea.zip |
For armv6 and armv7, build hwpmc_armv7.c as well as the base hwpmc_arm.c.
Submitted by: Arnaud YSMAL <arnaud.ysmal@stormshield.eu>
Notes
Notes:
svn path=/head/; revision=348741
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/hwpmc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/modules/hwpmc/Makefile b/sys/modules/hwpmc/Makefile index 2be1a58a2551..8e676c9688ac 100644 --- a/sys/modules/hwpmc/Makefile +++ b/sys/modules/hwpmc/Makefile @@ -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 |