]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - Documentation/Makefile
docs: Kconfig/Makefile: add a check for broken ABI files
[thirdparty/linux.git] / Documentation / Makefile
index 6b12dd82f71249318637aa8b2de73139d95de4b7..6a59a13d3c53361645b93e10ef42886de7e8ba54 100644 (file)
@@ -10,6 +10,11 @@ ifeq ($(CONFIG_WARN_MISSING_DOCUMENTS),y)
 $(shell $(srctree)/scripts/documentation-file-ref-check --warn)
 endif
 
+# Check for broken ABI files
+ifeq ($(CONFIG_WARN_ABI_ERRORS),y)
+$(shell $(srctree)/scripts/get_abi.pl validate --dir $(srctree)/Documentation/ABI)
+endif
+
 # You can set these variables from the command line.
 SPHINXBUILD   = sphinx-build
 SPHINXOPTS    =