kbuild: clean up ${quiet} checks in shell scripts
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 17 May 2021 07:03:14 +0000 (16:03 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 26 May 2021 19:01:50 +0000 (04:01 +0900)
commitc39013ee64b5083ec3202aae8a418e9c70baff7a
treeabb86126a65d6a357f8a06a7fc3e3aec8eab675c
parent174a1dcc96429efce4ef7eb2f5c4506480da2182
kbuild: clean up ${quiet} checks in shell scripts

There were efforts to make 'make -s' really silent when it is a
warning-free build.

The conventional way was to let a shell script check ${quiet}, and if
it is 'silent_', suppress the stdout by itself.

With the previous commit, the 'cmd' takes care of it now. The 'cmd' is
also invoked from if_changed, if_changed_dep, and if_changed_rule.

You can omit ${quiet} checks in shell scripts when they are invoked
from the 'cmd' macro.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
kernel/gen_kheaders.sh
scripts/link-vmlinux.sh
scripts/mkcompile_h