From: Masahiro Yamada Date: Wed, 21 Aug 2019 17:33:21 +0000 (+0900) Subject: kbuild: remove unneeded dependency for $(DOC_TARGETS) X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bc7b752a7a1c8498f5c48f5b1b63147e32f649dc;p=linux.git kbuild: remove unneeded dependency for $(DOC_TARGETS) Commit 415008af3219 ("docs-rst: convert lsm from DocBook to ReST") stopped using if_changed_rule. There is no more users of if_changed* for the doc targets. Hence, fixdep is unneeded. Remove the dependency on scripts_basic. All the doc targets are phony. The dependency on FORCE is not needed either. Signed-off-by: Masahiro Yamada --- diff --git a/Makefile b/Makefile index 3f95d1d04b087..48836d17d1e2d 100644 --- a/Makefile +++ b/Makefile @@ -1575,7 +1575,7 @@ $(help-board-dirs): help-%: DOC_TARGETS := xmldocs latexdocs pdfdocs htmldocs epubdocs cleandocs \ linkcheckdocs dochelp refcheckdocs PHONY += $(DOC_TARGETS) -$(DOC_TARGETS): scripts_basic FORCE +$(DOC_TARGETS): $(Q)$(MAKE) $(build)=Documentation $@ # Misc