summaryrefslogtreecommitdiffstats
path: root/Documentation/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-04 09:26:27 -0300
committerJonathan Corbet <corbet@lwn.net>2019-06-07 11:33:16 -0600
commitb1663d7e3a7961fc45262fd68a89253f2803036c (patch)
treee7e424e2d6bf9b53d846db99d421c19ffb1042ec /Documentation/Kconfig
parent3f9564e680efb2092dfb826e2f768920c9eb203b (diff)
downloadlinux-stable-b1663d7e3a7961fc45262fd68a89253f2803036c.tar.gz
linux-stable-b1663d7e3a7961fc45262fd68a89253f2803036c.tar.bz2
linux-stable-b1663d7e3a7961fc45262fd68a89253f2803036c.zip
docs: Kbuild/Makefile: allow check for missing docs at build time
While this doesn't make sense for production Kernels, in order to avoid regressions when documents are touched, let's add a check target at the make file. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/Kconfig')
-rw-r--r--Documentation/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/Kconfig b/Documentation/Kconfig
new file mode 100644
index 000000000000..66046fa1c341
--- /dev/null
+++ b/Documentation/Kconfig
@@ -0,0 +1,13 @@
+config WARN_MISSING_DOCUMENTS
+
+ bool "Warn if there's a missing documentation file"
+ depends on COMPILE_TEST
+ help
+ It is not uncommon that a document gets renamed.
+ This option makes the Kernel to check for missing dependencies,
+ warning when something is missing. Works only if the Kernel
+ is built from a git tree.
+
+ If unsure, select 'N'.
+
+