libpmcstat: Don't build pmu tables on !amd64 until the corresponding

util routines have been written and tested. Currently building them
breaks the build on power64

Reported by:	emaste
This commit is contained in:
mmacy 2018-05-24 21:22:03 +00:00
parent 36c253e5ad
commit b6f849107a
2 changed files with 3 additions and 4 deletions

View File

@ -2029,8 +2029,7 @@ _tcsh=bin/csh
_libmagic=lib/libmagic
.endif
.if (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
${MACHINE_CPUARCH} == "powerpc")
.if ${MACHINE_CPUARCH} == "amd64"
_jevents=lib/libpmcstat/pmu-events
.endif

View File

@ -15,8 +15,8 @@ INCS= libpmcstat.h
CFLAGS+= -I${.CURDIR}
.if (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
${MACHINE_CPUARCH} == "powerpc")
.if ${MACHINE_CPUARCH} == "amd64"
.if ${MACHINE_CPUARCH} == "aarch64"
EVENT_ARCH="arm64"
.elif ${MACHINE_CPUARCH} == "amd64"