Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+3 -4
+1 -1
Documentation/Kconfig
··· 19 19 described at Documentation/ABI/README. Yet, as they're manually 20 20 written, it would be possible that some of those files would 21 21 have errors that would break them for being parsed by 22 - scripts/get_abi.pl. Add a check to verify them. 22 + tools/docs/get_abi.py. Add a check to verify them. 23 23 24 24 If unsure, select 'N'. 25 25
+1 -1
Documentation/Makefile
··· 13 13 14 14 # Check for broken ABI files 15 15 ifeq ($(CONFIG_WARN_ABI_ERRORS),y) 16 - $(shell $(srctree)/scripts/get_abi.py --dir $(srctree)/Documentation/ABI validate) 16 + $(shell $(srctree)/tools/docs/get_abi.py --dir $(srctree)/Documentation/ABI validate) 17 17 endif 18 18 endif 19 19
+1 -1
Documentation/sphinx/kernel_abi.py
··· 14 14 :license: GPL Version 2, June 1991 see Linux/COPYING for details. 15 15 16 16 The ``kernel-abi`` (:py:class:`KernelCmd`) directive calls the 17 - scripts/get_abi.py script to parse the Kernel ABI files. 17 + AbiParser class to parse the Kernel ABI files. 18 18 19 19 Overview of directive's argument and options. 20 20
-1
MAINTAINERS
··· 7411 7411 P: Documentation/doc-guide/maintainer-profile.rst 7412 7412 T: git git://git.lwn.net/linux.git docs-next 7413 7413 F: Documentation/ 7414 - F: scripts/get_abi.py 7415 7414 F: scripts/kernel-doc* 7416 7415 F: scripts/lib/abi/* 7417 7416 F: scripts/lib/kdoc/*
scripts/get_abi.py tools/docs/get_abi.py