kbuild: do not suppress Kconfig prompts for silent build
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 14 Jul 2021 04:23:49 +0000 (13:23 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 18 Jul 2021 14:48:14 +0000 (23:48 +0900)
commitd952cfaf0cffdbbb0433c67206b645131f17ca5f
tree54a4fdaef6039bf96bff2e66c658eebabd17ebf3
parent5df99bec210a2cf89dd91e52f0d0a714bf4cd96a
kbuild: do not suppress Kconfig prompts for silent build

When a new CONFIG option is available, Kbuild shows a prompt to get
the user input.

  $ make
  [ snip ]
  Core Scheduling for SMT (SCHED_CORE) [N/y/?] (NEW)

This is the only interactive place in the build process.

Commit 174a1dcc9642 ("kbuild: sink stdout from cmd for silent build")
suppressed Kconfig prompts as well because syncconfig is invoked by
the 'cmd' macro. You cannot notice the fact that Kconfig is waiting
for the user input.

Use 'kecho' to show the equivalent short log without suppressing stdout
from sub-make.

Fixes: 174a1dcc9642 ("kbuild: sink stdout from cmd for silent build")
Reported-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Makefile