svn commit: r335233 - head/lib/libpmc

Bryan Drewery bdrewery at FreeBSD.org
Fri Jun 15 19:31:59 UTC 2018


On 6/15/2018 12:19 PM, Bryan Drewery wrote:
> 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

FYI .NOMETA was removed since .PHONY essentially implies it.

> +.if make(*clean*)
> +SUBDIR+= pmu-events
> +.endif
>  
>  libpmc_events.c: ${JEVENTS}
>  	${JEVENTS} ${EVENT_ARCH} ${.CURDIR}/pmu-events/arch libpmc_events.c
> 


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20180615/2eb32e20/attachment.sig>


More information about the svn-src-all mailing list