]> Gentwo Git Trees - linux/.git/commitdiff
docs: move get_abi.py to tools/docs
authorJonathan Corbet <corbet@lwn.net>
Wed, 13 Aug 2025 17:33:09 +0000 (11:33 -0600)
committerJonathan Corbet <corbet@lwn.net>
Tue, 28 Oct 2025 22:01:20 +0000 (16:01 -0600)
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>
Documentation/Kconfig
Documentation/Makefile
Documentation/sphinx/kernel_abi.py
MAINTAINERS
tools/docs/get_abi.py [moved from scripts/get_abi.py with 100% similarity]

index 3a0e7ac0c4e32439b5d810a543dab625c770ba14..8b6c4b84b2182f2b213311b3d13ac099dacecc9e 100644 (file)
@@ -19,7 +19,7 @@ config WARN_ABI_ERRORS
          described at Documentation/ABI/README. Yet, as they're manually
          written, it would be possible that some of those files would
          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'.
 
index 1476aa1701ce8993c976d1a59440c9bece77fa34..734ec9c9a62c8a11aac2909c5d0b2ee4348a43fa 100644 (file)
@@ -13,7 +13,7 @@ endif
 
 # Check for broken ABI files
 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
 
index 4c4375201b9ec35d73def39f239239f061317926..32e39fb8bc3b317eff65e0e2b8f921d3fa334654 100644 (file)
@@ -14,7 +14,7 @@
     :license:    GPL Version 2, June 1991 see Linux/COPYING for details.
 
     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.
 
index fc1da52433b6afd0bd153306040ca3a5d1307175..5c632cd3902c82353c8547cf7827e36c4b21cd4d 100644 (file)
@@ -7411,7 +7411,6 @@ S:        Maintained
 P:     Documentation/doc-guide/maintainer-profile.rst
 T:     git git://git.lwn.net/linux.git docs-next
 F:     Documentation/
-F:     scripts/get_abi.py
 F:     scripts/kernel-doc*
 F:     scripts/lib/abi/*
 F:     scripts/lib/kdoc/*
similarity index 100%
rename from scripts/get_abi.py
rename to tools/docs/get_abi.py