Commit 3a51f908 authored by Masahiro Yamada's avatar Masahiro Yamada

kbuild: remove stale dependency between Documentation/ and headers_install

Commit 8e2faea8 ("Make Documenation depend on headers_install")
dates back to 2014, which is before Sphinx was introduced for the
kernel documentation.

Since none of DOC_TARGET requires headers_install, it is strange to
run it only for the single target "Documentation/".
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent f3c8d4c7
...@@ -1744,8 +1744,7 @@ build-dir = $(patsubst %/,%,$(dir $(build-target))) ...@@ -1744,8 +1744,7 @@ build-dir = $(patsubst %/,%,$(dir $(build-target)))
PHONY += / PHONY += /
/: ./ /: ./
# Make sure the latest headers are built for Documentation samples/: headers_install
Documentation/ samples/: headers_install
%/: prepare FORCE %/: prepare FORCE
$(Q)$(MAKE) KBUILD_MODULES=1 $(build)=$(build-dir) $(Q)$(MAKE) KBUILD_MODULES=1 $(build)=$(build-dir)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment