aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-08-13 15:30:05 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-09-03 08:17:19 +0900
commite1f86d7b4b2a5213b012c2b4fe3e5b6ad537686e (patch)
tree8d727e69ee73d264c626599c794718d47b228599 /Makefile
parentkbuild: macrofy the condition of if_changed and friends (diff)
downloadwireguard-linux-e1f86d7b4b2a5213b012c2b4fe3e5b6ad537686e.tar.xz
wireguard-linux-e1f86d7b4b2a5213b012c2b4fe3e5b6ad537686e.zip
kbuild: warn if FORCE is missing for if_changed(_dep,_rule) and filechk
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: Masahiro Yamada <masahiroy@kernel.org> Tested-by: Nicolas Schier <n.schier@avm.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions