Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2018 19:19:36 +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: r335233 - head/lib/libpmc
Message-ID:  <201806151919.w5FJJavu001780@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Jun 15 19:19:36 2018
New Revision: 335233
URL: https://svnweb.freebsd.org/changeset/base/335233

Log:
  Put in temporary hacks for jevents.
  
  - Handle 'make clean'
  - Don't try building it locally, just fail instead.
  
  jevents should really be merged into lib/libpmc/Makefile.

Modified:
  head/lib/libpmc/Makefile

Modified: head/lib/libpmc/Makefile
==============================================================================
--- head/lib/libpmc/Makefile	Fri Jun 15 19:09:17 2018	(r335232)
+++ head/lib/libpmc/Makefile	Fri Jun 15 19:19:36 2018	(r335233)
@@ -20,9 +20,11 @@ EVENT_ARCH="powerpc"
 .endif
 
 JEVENTS= ${BTOOLSPATH:U.}/pmu-events/jevents
-# This file is built in a subdirectory so never try to rebuild
-# it here due to missing meta file.
-${JEVENTS}: .NOMETA
+# This file is built in a subdirectory so never try to rebuild it here.
+${JEVENTS}: .PHONY
+.if make(*clean*)
+SUBDIR+= pmu-events
+.endif
 
 libpmc_events.c: ${JEVENTS}
 	${JEVENTS} ${EVENT_ARCH} ${.CURDIR}/pmu-events/arch libpmc_events.c



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