kbuild: make -s option take precedence over V=1
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 27 Feb 2021 06:26:20 +0000 (15:26 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 28 Feb 2021 06:22:02 +0000 (15:22 +0900)
commit2214945422c143f8bb27faed77a97f728c0a1cb1
tree7d262219d00c233b1359739637070adcba92185c
parentad7953e7aebb585d0fcfc58d81e207360f751ddb
kbuild: make -s option take precedence over V=1

'make -s' should be really silent. However, 'make -s V=1' prints noisy
log messages from some shell scripts.

Of course, such a combination is odd, but the build system needs to do
the right thing even if a user gives strange input.

If -s is given, KBUILD_VERBOSE should be forced to 0.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile