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
  • scripts
  • Kbuild.include
Find file BlameHistoryPermalink
  • Masahiro Yamada's avatar
    kbuild: warn if FORCE is missing for if_changed(_dep,_rule) and filechk · e1f86d7b
    Masahiro Yamada authored Aug 13, 2021
    
    
    if_changed, if_changed_dep, and if_changed_rule must have FORCE as a
    prerequisite so the command line change is detected.
    
    Documentation/kbuild/makefiles.rst clearly explains it:
    
      Note: It is a typical mistake to forget the FORCE prerequisite.
    
    However, not all people follow the document.
    
    This mistake occurred again and again, so a compelling force is needed.
    
    Show a warning if FORCE is missing in the prerequisite of if_changed
    and friends. Same for filechk.
    
    Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    Tested-by: default avatarNicolas Schier <n.schier@avm.de>
    e1f86d7b
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7