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.
Showing the changes to kernel (1 of 3 files). Show all
Unified · Split
| @@ -56,9 +56,7 @@ if [ -f kernel/kheaders.md5 ] && · 55 unmodified lines | |||
| 56 | exit | 56 | exit |
| 57 | fi | 57 | fi |
| 58 | 58 | ||
| 59 | if [ "${quiet}" != "silent_" ]; then | 59 | echo " GEN $tarfile" |
| 60 | echo " GEN $tarfile" | ||
| 61 | fi | ||
| 62 | 60 | ||
| 63 | rm -rf $cpio_dir | 61 | rm -rf $cpio_dir |
| 64 | mkdir $cpio_dir | 62 | mkdir $cpio_dir |