summaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2018-05-24 04:30:06 +0000
committerMatt Macy <mmacy@FreeBSD.org>2018-05-24 04:30:06 +0000
commite98bbcf9ca437b13c6ede314380183963969bff1 (patch)
tree46d0c9b9b9df9de1fb5c2421715ff4df800c1f1e /Makefile.inc1
parent3741a56c310d6e0c2a98231856014567575f07f5 (diff)
downloadsrc-test2-e98bbcf9ca437b13c6ede314380183963969bff1.tar.gz
src-test2-e98bbcf9ca437b13c6ede314380183963969bff1.zip
libpmcstat: compile in events based on json description
Notes
Notes: svn path=/head/; revision=334128
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc16
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index c883d14d0b5a..990623c494f5 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2029,6 +2029,11 @@ _tcsh=bin/csh
_libmagic=lib/libmagic
.endif
+.if (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
+ ${MACHINE_CPUARCH} == "powerpc")
+_jevents=lib/libpmcstat/pmu-events
+.endif
+
# kernel-toolchain skips _cleanobj, so handle cleaning up previous
# build-tools directories if needed.
.if !defined(NO_CLEAN) && make(kernel-toolchain)
@@ -2039,6 +2044,7 @@ _bt_clean= ${CLEANDIR}
${_tcsh} \
bin/sh \
${LOCAL_TOOL_DIRS} \
+ ${_jevents} \
lib/ncurses/ncurses \
lib/ncurses/ncursesw \
${_rescue} \