aboutsummaryrefslogtreecommitdiff
path: root/lib/libpmcstat
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2018-05-25 21:46:53 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2018-05-25 21:46:53 +0000
commit672ea456f9a710473d693726ae1cf808810fa273 (patch)
tree56aace54308b4d504c1ec0c17a53da226261a9d0 /lib/libpmcstat
parentefd834d6cefa8f0d2c915d9a259c0bbb63836ff3 (diff)
downloadsrc-672ea456f9a710473d693726ae1cf808810fa273.tar.gz
src-672ea456f9a710473d693726ae1cf808810fa273.zip
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.
Notes
Notes: svn path=/head/; revision=334228
Diffstat (limited to 'lib/libpmcstat')
-rw-r--r--lib/libpmcstat/Makefile3
1 files changed, 3 insertions, 0 deletions
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