From d6dd3d401d46c771171c5116b3e183f5fd2d6e77 Mon Sep 17 00:00:00 2001 From: emaste Date: Fri, 23 Oct 2015 21:09:28 +0000 Subject: Add aarch64 files to the hwpmc(4) module build This was probably missed because FreeBSD/arm64 did not yet support modules when aarch64 support was added to hwpmc(4). Submitted by: andrew --- sys/modules/hwpmc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/modules/hwpmc/Makefile b/sys/modules/hwpmc/Makefile index cfae7b6..5e6ea30 100644 --- a/sys/modules/hwpmc/Makefile +++ b/sys/modules/hwpmc/Makefile @@ -8,6 +8,10 @@ KMOD= hwpmc SRCS= hwpmc_mod.c hwpmc_logging.c hwpmc_soft.c vnode_if.h +.if ${MACHINE_CPUARCH} == "aarch64" +SRCS+= hwpmc_arm64.c hwpmc_arm64_md.c +.endif + .if ${MACHINE_CPUARCH} == "amd64" SRCS+= hwpmc_amd.c hwpmc_core.c hwpmc_intel.c hwpmc_piv.c hwpmc_tsc.c SRCS+= hwpmc_x86.c hwpmc_uncore.c -- cgit v1.1