Use proper BTOOLSPATH for build-tools path.

This commit is contained in:
bdrewery 2018-05-25 21:46:49 +00:00
parent c8e7c42a5a
commit b1529c482e

View File

@ -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