kbuild: teach mkmakfile to be silent
authorSam Ravnborg <sam@ravnborg.org>
Fri, 21 Nov 2008 22:00:12 +0000 (23:00 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 3 Dec 2008 20:32:02 +0000 (21:32 +0100)
With this fix a "make -s" is now really silent

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mkmakefile

index e65d8b33faa4cae649044fb48d8fc87fa012d574..67d59c7a18dc57b1580a833ed37e832eff227c85 100644 (file)
@@ -17,7 +17,9 @@ if test -e $2/Makefile && ! grep -q Automatically $2/Makefile
 then
        exit 0
 fi
-echo "  GEN     $2/Makefile"
+if [ "${quiet}" != "silent_" ]; then
+       echo "  GEN     $2/Makefile"
+fi
 
 cat << EOF > $2/Makefile
 # Automatically generated by $0: don't edit