瀏覽代碼

kbuild: teach mkmakfile to be silent

With this fix a "make -s" is now really silent

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Sam Ravnborg 16 年之前
父節點
當前提交
d2301249e2
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      scripts/mkmakefile

+ 3 - 1
scripts/mkmakefile

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