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:
Matt Macy 2018-05-24 21:22:03 +00:00
parent acf9fd05d8
commit 773015538c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334186
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"