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
signature.asc
Description: OpenPGP digital signature