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.
This commit is contained in:
parent
5cdfe055c6
commit
984e340bf1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user