Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • tools
  • scripts
  • Makefile.include
Find file BlameHistoryPermalink
  • Josh Poimboeuf's avatar
    tools build: Add tools tree support for 'make -s' · e572d088
    Josh Poimboeuf authored Jan 18, 2017
    
    
    When doing a kernel build with 'make -s', everything is silenced except
    the objtool build.  That's because the tools tree support for silent
    builds is some combination of missing and broken.
    
    Three changes are needed to fix it:
    
    - Makefile: propagate '-s' to the sub-make's MAKEFLAGS variable so the
      tools Makefiles can see it.
    
    - tools/scripts/Makefile.include: fix the tools Makefiles' ability to
      recognize '-s'.  The MAKE_VERSION and MAKEFLAGS checks are copied from
      the top-level Makefile.  This silences the "DESCEND objtool" message.
    
    - tools/build/Makefile.build: add support to the tools Build files for
      recognizing '-s'.  Again the MAKE_VERSION and MAKEFLAGS checks are
      copied from the top-level Makefile.  This silences all the object
      compile/link messages.
    
    Reported-and-Tested-by: default avatarPeter Zijlstra <peterz@infradead.org>
    Signed-off-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Michal Marek <mmarek@suse.com>
    Link: http://lkml.kernel.org/r/e8967562ef640c3ae9a76da4ae0f4e47df737c34.1484799200.git.jpoimboe@redhat.com
    
    
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    e572d088
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7