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
You need to sign in or sign up before continuing.
  • linux
  • scripts
  • Kbuild.include
Find file BlameHistoryPermalink
  • Masahiro Yamada's avatar
    kbuild: remove 'addtree' and 'flags' magic for header search paths · cdd750bf
    Masahiro Yamada authored May 13, 2019
    The 'addtree' and 'flags' in scripts/Kbuild.include are so compilecated
    and ugly.
    
    As I mentioned in [1], Kbuild should stop automatic prefixing of header
    search path options.
    
    I fixed up (almost) all Makefiles in the kernel. Now 'addtree' and
    'flags' have been removed.
    
    Kbuild still caters to add $(srctree)/$(src) and $(objtree)/$(obj)
    to the header search path for O= building, but never touches extra
    compiler options from ccflags-y etc.
    
    [1]: https://patchwork.kernel.org/patch/9632347/
    
    
    
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    cdd750bf
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7