libpmc: build json event support also on arm64

This commit is contained in:
Ed Maste 2019-12-12 00:14:01 +00:00
parent c7ba149dba
commit c039e9596f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355635
2 changed files with 4 additions and 2 deletions

View File

@ -2446,7 +2446,8 @@ _libmagic=lib/libmagic
.endif
.if ${MK_PMC} != "no" && \
(${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "i386")
(${TARGET_ARCH} == "aarch64" || ${TARGET_ARCH} == "amd64" || \
${TARGET_ARCH} == "i386")
_jevents=lib/libpmc/pmu-events
.endif

View File

@ -7,7 +7,8 @@ INCS= pmc.h pmclog.h pmcformat.h
ALLOW_MIPS_SHARED_TEXTREL=
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "i386"
.if ${MACHINE_ARCH} == "aarch64"
EVENT_ARCH="arm64"