Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • chendotjs
  • linux
  • Repository
Switch branch/tag
  • linux
  • Makefile
Find file BlameHistoryPermalink
  • Masahiro Yamada's avatar
    kbuild: do not suppress Kconfig prompts for silent build · d952cfaf
    Masahiro Yamada authored Jul 14, 2021
    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 174a1dcc ("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: 174a1dcc
    
     ("kbuild: sink stdout from cmd for silent build")
    Reported-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
    Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    Tested-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
    d952cfaf