mirror of https://github.com/torvalds/linux.git
docs: move get_abi.py to tools/docs
Move this tool out of scripts/ to join the other documentation tools; fix up a couple of erroneous references in the process. It's worth noting that this script will fail badly unless one has a PYTHONPATH referencing scripts/lib/abi. Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Acked-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
eaae0ad972
commit
a5dd93016f
|
|
@ -19,7 +19,7 @@ config WARN_ABI_ERRORS
|
||||||
described at Documentation/ABI/README. Yet, as they're manually
|
described at Documentation/ABI/README. Yet, as they're manually
|
||||||
written, it would be possible that some of those files would
|
written, it would be possible that some of those files would
|
||||||
have errors that would break them for being parsed by
|
have errors that would break them for being parsed by
|
||||||
scripts/get_abi.pl. Add a check to verify them.
|
tools/docs/get_abi.py. Add a check to verify them.
|
||||||
|
|
||||||
If unsure, select 'N'.
|
If unsure, select 'N'.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ endif
|
||||||
|
|
||||||
# Check for broken ABI files
|
# Check for broken ABI files
|
||||||
ifeq ($(CONFIG_WARN_ABI_ERRORS),y)
|
ifeq ($(CONFIG_WARN_ABI_ERRORS),y)
|
||||||
$(shell $(srctree)/scripts/get_abi.py --dir $(srctree)/Documentation/ABI validate)
|
$(shell $(srctree)/tools/docs/get_abi.py --dir $(srctree)/Documentation/ABI validate)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
:license: GPL Version 2, June 1991 see Linux/COPYING for details.
|
:license: GPL Version 2, June 1991 see Linux/COPYING for details.
|
||||||
|
|
||||||
The ``kernel-abi`` (:py:class:`KernelCmd`) directive calls the
|
The ``kernel-abi`` (:py:class:`KernelCmd`) directive calls the
|
||||||
scripts/get_abi.py script to parse the Kernel ABI files.
|
AbiParser class to parse the Kernel ABI files.
|
||||||
|
|
||||||
Overview of directive's argument and options.
|
Overview of directive's argument and options.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7411,7 +7411,6 @@ S: Maintained
|
||||||
P: Documentation/doc-guide/maintainer-profile.rst
|
P: Documentation/doc-guide/maintainer-profile.rst
|
||||||
T: git git://git.lwn.net/linux.git docs-next
|
T: git git://git.lwn.net/linux.git docs-next
|
||||||
F: Documentation/
|
F: Documentation/
|
||||||
F: scripts/get_abi.py
|
|
||||||
F: scripts/kernel-doc*
|
F: scripts/kernel-doc*
|
||||||
F: scripts/lib/abi/*
|
F: scripts/lib/abi/*
|
||||||
F: scripts/lib/kdoc/*
|
F: scripts/lib/kdoc/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue