From 672ea456f9a710473d693726ae1cf808810fa273 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Fri, 25 May 2018 21:46:53 +0000 Subject: [PATCH] META_MODE: Fix trying to rebuild jevents due to missing .meta file. The tool is built separately in buildworld in a subdirectory rather than how other build-tools are done. Subdirectory builds in lib/libpmcstat remain broken since the tool cannot be auto-built from here. --- lib/libpmcstat/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/libpmcstat/Makefile b/lib/libpmcstat/Makefile index 40d47d50187b..a20b14d174d4 100644 --- a/lib/libpmcstat/Makefile +++ b/lib/libpmcstat/Makefile @@ -26,6 +26,9 @@ 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 libpmcstat_events.c: ${JEVENTS} ${JEVENTS} ${EVENT_ARCH} ${.CURDIR}/pmu-events/arch libpmcstat_events.c