Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2018 21:46:50 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334227 - head/lib/libpmcstat
Message-ID:  <201805252146.w4PLkonH009427@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805252146.w4PLkonH009427>