kbuild: teach mkmakfile to be silent

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Sunday, December 28, 2008 - 5:59 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d23012...
Commit:     d2301249e2f9b9a3ba989703107192b538209e57
Parent:     fd54f502841c1caa7cfd5af564aad1bd017371fa
Author:     Sam Ravnborg <sam@ravnborg.org>
AuthorDate: Fri Nov 21 23:00:12 2008 +0100
Committer:  Sam Ravnborg <sam@ravnborg.org>
CommitDate: Wed Dec 3 21:32:02 2008 +0100

    kbuild: teach mkmakfile to be silent
    
    With this fix a "make -s" is now really silent
    
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
 scripts/mkmakefile |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/scripts/mkmakefile b/scripts/mkmakefile
index e65d8b3..67d59c7 100644
--- a/scripts/mkmakefile
+++ b/scripts/mkmakefile
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
kbuild: teach mkmakfile to be silent, Linux Kernel Mailing ..., (Sun Dec 28, 5:59 pm)