Module Name: src Committed By: skrll Date: Sun Oct 20 16:00:20 UTC 2013
Modified Files: src/tools/gcc: mknative.common Log Message: Make sure gmake is quiet when grabbing variables. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/tools/gcc/mknative.common Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tools/gcc/mknative.common diff -u src/tools/gcc/mknative.common:1.9 src/tools/gcc/mknative.common:1.10 --- src/tools/gcc/mknative.common:1.9 Mon Feb 5 18:26:01 2007 +++ src/tools/gcc/mknative.common Sun Oct 20 16:00:20 2013 @@ -1,4 +1,4 @@ -# $NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp $ +# $NetBSD: mknative.common,v 1.10 2013/10/20 16:00:20 skrll Exp $ # # from: NetBSD: mknative,v 1.12 2003/03/05 06:17:17 mrg Exp # @@ -24,7 +24,7 @@ getvars() _mf="$1"; shift case "$MAKE" in *gmake) - env MAKEFLAGS= $MAKE -f - -f "$_TMPDIR/$_mf" _x_ <<EOF || bomb "getvars $_mf $* failed" + env MAKEFLAGS= $MAKE --quiet -f - -f "$_TMPDIR/$_mf" _x_ <<EOF || bomb "getvars $_mf $* failed" define echo_var @echo G_\${var}="\${\${var}}" | sed -e 's,\([^\.]\)\./\([a-zA-Z0-9_-]*\.o\),\1\2,g' -e 's,$_VPATH,\$\${GNUHOSTDIST},g' -e 's,$_GNU_DIST,\$\${GNUHOSTDIST},g' @@ -52,7 +52,7 @@ write_c() echo '/* This file is automatically generated. DO NOT EDIT! */' >$_TOP/$1.tmp || \ bomb "cannot create $1" grep '$''NetBSD' $0 | sed 's,[#$],,g;s,.*,/* Generated from: & */,' >>$_TOP/$1.tmp - echo '$NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp $' | sed 's,[#$],,g;s,.*,/* Generated from: & */,' >>$_TOP/$1.tmp + echo '$NetBSD: mknative.common,v 1.10 2013/10/20 16:00:20 skrll Exp $' | sed 's,[#$],,g;s,.*,/* Generated from: & */,' >>$_TOP/$1.tmp echo '' >>$_TOP/$1.tmp writefile $1 } @@ -64,7 +64,7 @@ write_mk() echo '# This file is automatically generated. DO NOT EDIT!' >$_TOP/$1.tmp || \ bomb "cannot create $1" grep '$''NetBSD' $0 | sed 's,[#$],,g;s,.*,# Generated from: &,' >>$_TOP/$1.tmp - echo '$NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb Exp $' | sed 's,[#$],,g;s,.*,# Generated from: &,' >>$_TOP/$1.tmp + echo '$NetBSD: mknative.common,v 1.10 2013/10/20 16:00:20 skrll Exp $' | sed 's,[#$],,g;s,.*,# Generated from: &,' >>$_TOP/$1.tmp echo '#' >>$_TOP/$1.tmp writefile $1 }