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
This commit is contained in:
parent
0f7ad9fc12
commit
d6dd3d401d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user