summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada2019-06-04 12:13:56 +0200
committerMasahiro Yamada2019-06-15 12:57:01 +0200
commit3a51f9081e7b4c7229e1d3cb5ec74bc27ae4ea84 (patch)
treec149710c239720d129dc78e8e1e964e887169265 /Makefile
parentkbuild: remove headers_{install,check}_all (diff)
downloadkernel-qcow2-linux-3a51f9081e7b4c7229e1d3cb5ec74bc27ae4ea84.tar.gz
kernel-qcow2-linux-3a51f9081e7b4c7229e1d3cb5ec74bc27ae4ea84.tar.xz
kernel-qcow2-linux-3a51f9081e7b4c7229e1d3cb5ec74bc27ae4ea84.zip
kbuild: remove stale dependency between Documentation/ and headers_install
Commit 8e2faea877eb ("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: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b4b07e90c969..5d550ad872a7 100644
--- a/Makefile
+++ b/Makefile
@@ -1744,8 +1744,7 @@ build-dir = $(patsubst %/,%,$(dir $(build-target)))
PHONY += /
/: ./
-# Make sure the latest headers are built for Documentation
-Documentation/ samples/: headers_install
+samples/: headers_install
%/: prepare FORCE
$(Q)$(MAKE) KBUILD_MODULES=1 $(build)=$(build-dir)