git: a6bd50f712bb - main - Avoid breaking crunchgen with meta stats
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Apr 2023 03:29:24 UTC
The branch main has been updated by sjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=a6bd50f712bb6e99dae3c2dda2f4c3742d7cf8e2
commit a6bd50f712bb6e99dae3c2dda2f4c3742d7cf8e2
Author: Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2023-04-19 03:25:33 +0000
Commit: Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2023-04-19 03:25:33 +0000
Avoid breaking crunchgen with meta stats
When using DIRDEPS_BUILD we normally get stats as each dir finishes.
This upsets crunchen, so keep quiet when _RECURSING_CRUNCH is defined
---
share/mk/local.autodep.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/share/mk/local.autodep.mk b/share/mk/local.autodep.mk
index 6c2b560b1f45..b7660fad142c 100644
--- a/share/mk/local.autodep.mk
+++ b/share/mk/local.autodep.mk
@@ -29,3 +29,8 @@ CLEANFILES+= .depend
@${CXX} -E ${CXXFLAGS} ${.IMPSRC} | grep -v '^[[:space:]]*$$'
.-include <site.autodep.mk>
+
+.ifdef _RECURSING_CRUNCH
+# crunchgen does not want to see our stats
+_reldir_finish: .NOTMAIN
+.endif