libpmc: build json event support also on arm64
This commit is contained in:
parent
c7ba149dba
commit
c039e9596f
@ -2446,7 +2446,8 @@ _libmagic=lib/libmagic
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MK_PMC} != "no" && \
|
.if ${MK_PMC} != "no" && \
|
||||||
(${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "i386")
|
(${TARGET_ARCH} == "aarch64" || ${TARGET_ARCH} == "amd64" || \
|
||||||
|
${TARGET_ARCH} == "i386")
|
||||||
_jevents=lib/libpmc/pmu-events
|
_jevents=lib/libpmc/pmu-events
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -7,7 +7,8 @@ INCS= pmc.h pmclog.h pmcformat.h
|
|||||||
|
|
||||||
ALLOW_MIPS_SHARED_TEXTREL=
|
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"
|
.if ${MACHINE_ARCH} == "aarch64"
|
||||||
EVENT_ARCH="arm64"
|
EVENT_ARCH="arm64"
|
||||||
|
Loading…
Reference in New Issue
Block a user