kbuild: hide commands to run Kconfig, and show short log for syncconfig
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 21 Aug 2020 02:43:58 +0000 (11:43 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 26 Aug 2020 15:44:33 +0000 (00:44 +0900)
commit23cd88c91343349a0d67a227f9effdde0cbe09af
tree342ee43ce26317c55212e4b67f8e4ec322aea916
parent695afd3d7d58ec3044d25c9d2fe384ab8627fd20
kbuild: hide commands to run Kconfig, and show short log for syncconfig

Some targets (localyesconfig, localmodconfig, defconfig) hide the
command running, but the others do not.

Users know which Kconfig flavor they are running, so it is OK to hide
the command. Add $(Q) to all commands consistently. If you want to see
the full command running, pass V=1 from the command line.

syncconfig is the exceptional case, which occurs without explicit
command invocation by the user. Display the Kbuild-style log for it.
The ugly bare log will go away.

[Before]

scripts/kconfig/conf  --syncconfig Kconfig

[After]

  SYNC    include/config/auto.conf

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