svn commit: r335233 - head/lib/libpmc
Bryan Drewery
bdrewery at FreeBSD.org
Fri Jun 15 19:19:37 UTC 2018
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
More information about the svn-src-all
mailing list