aboutsummaryrefslogtreecommitdiff
path: root/lib/libpmcstat
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2018-05-25 21:46:49 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2018-05-25 21:46:49 +0000
commitefd834d6cefa8f0d2c915d9a259c0bbb63836ff3 (patch)
tree4fd5598cce3be8eae2402a7f96d45d11aafad883 /lib/libpmcstat
parent783fe372bf505bb292c1a0cf7f5573c3b912d700 (diff)
downloadsrc-efd834d6cefa8f0d2c915d9a259c0bbb63836ff3.tar.gz
src-efd834d6cefa8f0d2c915d9a259c0bbb63836ff3.zip
Notes
Diffstat (limited to 'lib/libpmcstat')
-rw-r--r--lib/libpmcstat/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libpmcstat/Makefile b/lib/libpmcstat/Makefile
index d0cd751a662b..40d47d50187b 100644
--- a/lib/libpmcstat/Makefile
+++ b/lib/libpmcstat/Makefile
@@ -25,11 +25,7 @@ EVENT_ARCH="x86"
EVENT_ARCH="powerpc"
.endif
-.if defined(HOST_OBJTOP)
-JEVENTS= ${HOST_OBJTOP}/${RELDIR}/pmu-events/jevents
-.else
-JEVENTS= pmu-events/jevents
-.endif
+JEVENTS= ${BTOOLSPATH:U.}/pmu-events/jevents
libpmcstat_events.c: ${JEVENTS}
${JEVENTS} ${EVENT_ARCH} ${.CURDIR}/pmu-events/arch libpmcstat_events.c