kbuild: allow to combine multiple V= levels
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 22 Dec 2022 16:25:34 +0000 (01:25 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 22 Jan 2023 14:43:32 +0000 (23:43 +0900)
commit6ae4b9868a8f723cae2600722eea033fafadd399
tree2da4dfacfb2dca92750831bfbd8db067b17decad
parentc0d3b83100c896e1b0909023df58a0ebdd428d61
kbuild: allow to combine multiple V= levels

Commit a6de553da01c ("kbuild: Allow to combine multiple W= levels")
supported W=123 to enable all the extra warning groups.

I think a similar idea is applicable to the V= option.

  V=1 echos the whole command
  V=2 prints the reason for rebuilding

These are orthogonal, and can be enabled at the same time.

This commit supports V=12 to enable both of them.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Nicolas Schier <nicolas@fjasle.eu>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Makefile
arch/x86/tools/Makefile
scripts/Kbuild.include
scripts/tags.sh