svn commit: r334227 - head/lib/libpmcstat

Bryan Drewery bdrewery at FreeBSD.org
Fri May 25 21:46:50 UTC 2018


Author: bdrewery
Date: Fri May 25 21:46:49 2018
New Revision: 334227
URL: https://svnweb.freebsd.org/changeset/base/334227

Log:
  Use proper BTOOLSPATH for build-tools path.

Modified:
  head/lib/libpmcstat/Makefile

Modified: head/lib/libpmcstat/Makefile
==============================================================================
--- head/lib/libpmcstat/Makefile	Fri May 25 21:46:07 2018	(r334226)
+++ head/lib/libpmcstat/Makefile	Fri May 25 21:46:49 2018	(r334227)
@@ -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


More information about the svn-src-all mailing list