Module Name: src
Committed By: lukem
Date: Sat Jun 13 10:49:17 UTC 2020
Modified Files:
src/tools: Makefile.gnuhost
src/tools/compat: Makefile
src/tools/host-mkdep: Makefile
src/tools/xz-include: Makefile
Log Message:
tools: configure --silent if MAKEVERBOSE == 0
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/tools/Makefile.gnuhost
cvs rdiff -u -r1.87 -r1.88 src/tools/compat/Makefile
cvs rdiff -u -r1.15 -r1.16 src/tools/host-mkdep/Makefile
cvs rdiff -u -r1.2 -r1.3 src/tools/xz-include/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/Makefile.gnuhost
diff -u src/tools/Makefile.gnuhost:1.52 src/tools/Makefile.gnuhost:1.53
--- src/tools/Makefile.gnuhost:1.52 Sat Jun 13 08:12:16 2020
+++ src/tools/Makefile.gnuhost Sat Jun 13 10:49:17 2020
@@ -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+=--prefix=${TOOLDIR}
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
Index: src/tools/compat/Makefile
diff -u src/tools/compat/Makefile:1.87 src/tools/compat/Makefile:1.88
--- src/tools/compat/Makefile:1.87 Wed May 8 02:25:50 2019
+++ src/tools/compat/Makefile Sat Jun 13 10:49:17 2020
@@ -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 @@ _CURDIR:= ${.CURDIR}
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}
Index: src/tools/host-mkdep/Makefile
diff -u src/tools/host-mkdep/Makefile:1.15 src/tools/host-mkdep/Makefile:1.16
--- src/tools/host-mkdep/Makefile:1.15 Sun Jan 27 05:16:10 2019
+++ src/tools/host-mkdep/Makefile Sat Jun 13 10:49:17 2020
@@ -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 @@ CLEANFILES+= config.cache config.log con
#
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
Index: src/tools/xz-include/Makefile
diff -u src/tools/xz-include/Makefile:1.2 src/tools/xz-include/Makefile:1.3
--- src/tools/xz-include/Makefile:1.2 Tue Sep 25 11:41:35 2018
+++ src/tools/xz-include/Makefile Sat Jun 13 10:49:17 2020
@@ -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} \