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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to