Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools tools: configure --silent if MAKEVERBOSE == 0



details:   https://anonhg.NetBSD.org/src/rev/4f6e7fe717d8
branches:  trunk
changeset: 934453:4f6e7fe717d8
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Jun 13 10:49:17 2020 +0000

description:
tools: configure --silent if MAKEVERBOSE == 0

diffstat:

 tools/Makefile.gnuhost    |   7 ++++++-
 tools/compat/Makefile     |   9 +++++++--
 tools/host-mkdep/Makefile |  10 +++++++---
 tools/xz-include/Makefile |   5 ++++-
 4 files changed, 24 insertions(+), 7 deletions(-)

diffs (93 lines):

diff -r 51918f385a5c -r 4f6e7fe717d8 tools/Makefile.gnuhost
--- a/tools/Makefile.gnuhost    Sat Jun 13 08:12:16 2020 +0000
+++ b/tools/Makefile.gnuhost    Sat Jun 13 10:49:17 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.gnuhost,v 1.52 2020/06/13 08:12:16 lukem Exp $
+#      $NetBSD: Makefile.gnuhost,v 1.53 2020/06/13 10:49:17 lukem Exp $
 #
 # Rules used when building a GNU host package.  Expects MODULE to be set.
 #
@@ -77,6 +77,11 @@
 CONFIGURE_ARGS+=--disable-shared
 .endif
 
+.if ${MAKEVERBOSE} == 0
+CONFIGURE_ARGS+=--silent
+.endif
+
+
 .if ${MAKE_PROGRAM} == ${MAKE}
 .ifndef _NOWRAPPER
 # Some systems have a small ARG_MAX.  On such systems, prevent Make
diff -r 51918f385a5c -r 4f6e7fe717d8 tools/compat/Makefile
--- a/tools/compat/Makefile     Sat Jun 13 08:12:16 2020 +0000
+++ b/tools/compat/Makefile     Sat Jun 13 10:49:17 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.87 2019/05/08 02:25:50 thorpej Exp $
+#      $NetBSD: Makefile,v 1.88 2020/06/13 10:49:17 lukem Exp $
 
 HOSTLIB=       nbcompat
 
@@ -76,10 +76,15 @@
 
 SRCS:=         ${SRCS:M*.c}
 
+CONFIGURE_ARGS=        --cache-file=config.cache
+.if ${MAKEVERBOSE} == 0
+CONFIGURE_ARGS+=--silent
+.endif
+
 config.cache: include/.stamp configure nbtool_config.h.in defs.mk.in
        rm -f ${.TARGET}
        CC=${HOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} LDFLAGS=${HOST_LDFLAGS:Q} \
-               ${HOST_SH} ${.CURDIR}/configure --cache-file=config.cache
+               ${HOST_SH} ${.CURDIR}/configure ${CONFIGURE_ARGS}
 
 defs.mk: config.cache
        @touch ${.TARGET}
diff -r 51918f385a5c -r 4f6e7fe717d8 tools/host-mkdep/Makefile
--- a/tools/host-mkdep/Makefile Sat Jun 13 08:12:16 2020 +0000
+++ b/tools/host-mkdep/Makefile Sat Jun 13 10:49:17 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.15 2019/01/27 05:16:10 dholland Exp $
+#      $NetBSD: Makefile,v 1.16 2020/06/13 10:49:17 lukem Exp $
 
 .include <bsd.hostinit.mk>
 
@@ -19,11 +19,15 @@
 #
 CONFIGURE_ENV= CC=${HOST_CC:Q}
 
+CONFIGURE_ARGS=        --cache-file=config.cache
+.if ${MAKEVERBOSE} == 0
+CONFIGURE_ARGS+=--silent
+.endif
+
 realall: host-mkdep
 host-mkdep: configure host-mkdep.in
        -rm -f $@
-       ${CONFIGURE_ENV} \
-           ${HOST_SH} ${.CURDIR}/configure --cache-file=config.cache
+       ${CONFIGURE_ENV} ${HOST_SH} ${.CURDIR}/configure ${CONFIGURE_ARGS}
        chmod +x $@
 
 # Use uninstalled copy of the install program
diff -r 51918f385a5c -r 4f6e7fe717d8 tools/xz-include/Makefile
--- a/tools/xz-include/Makefile Sat Jun 13 08:12:16 2020 +0000
+++ b/tools/xz-include/Makefile Sat Jun 13 10:49:17 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2018/09/25 11:41:35 joerg Exp $
+#      $NetBSD: Makefile,v 1.3 2020/06/13 10:49:17 lukem Exp $
 
 .include <bsd.hostinit.mk>
 
@@ -9,6 +9,9 @@
 .include "Makefile.inc"
 
 CONFIGURE_ARGS+=       --enable-threads=no --disable-nls
+.if ${MAKEVERBOSE} == 0
+CONFIGURE_ARGS+=       --silent
+.endif
 
 config.status: ${XZSRCDIR}/configure
        ${HOST_SH} ${XZSRCDIR}/configure ${CONFIGURE_ARGS} \



Home | Main Index | Thread Index | Old Index