git: c07be2c53e5c - main - make: Don't print as many ==> and -- xxx -- lines in meta mode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Oct 2022 16:33:56 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=c07be2c53e5ce64a2ce79ddfbc3e12e694a0825a
commit c07be2c53e5ce64a2ce79ddfbc3e12e694a0825a
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-10-28 21:42:49 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-10-29 16:13:54 +0000
make: Don't print as many ==> and -- xxx -- lines in meta mode
Since metamode just announces what it's doing, the extra -- xxx -- lines
aren't needed for recursive descent, nor are the ==> lines needed. This
speeds up rebuilding kernels a lot...
Sponsored by: Netflix
Reviewed by: sjg, bdrewery
Differential Revision: https://reviews.freebsd.org/D37071
---
share/mk/bsd.subdir.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk
index fb686a101322..e45c332a1134 100644
--- a/share/mk/bsd.subdir.mk
+++ b/share/mk/bsd.subdir.mk
@@ -64,6 +64,11 @@ STANDALONE_SUBDIR_TARGETS+= realinstall
.include <bsd.init.mk>
+.if ${MK_META_MODE} == "yes"
+.MAKE.JOB.PREFIX=
+ECHODIR= :
+.endif
+
.if make(print-dir)
NEED_SUBDIR= 1
ECHODIR= :