mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
docs: Move the "features" tools to tools/docs
The scripts for managing the features docs are found in three different directories; unite them all under tools/docs and update references as needed. 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:
@@ -13,7 +13,7 @@
|
||||
:license: GPL Version 2, June 1991 see Linux/COPYING for details.
|
||||
|
||||
The ``kernel-feat`` (:py:class:`KernelFeat`) directive calls the
|
||||
scripts/get_feat.pl script to parse the Kernel ABI files.
|
||||
tools/docs/get_feat.pl script to parse the Kernel ABI files.
|
||||
|
||||
Overview of directive's argument and options.
|
||||
|
||||
@@ -85,7 +85,7 @@ class KernelFeat(Directive):
|
||||
srctree = os.path.abspath(os.environ["srctree"])
|
||||
|
||||
args = [
|
||||
os.path.join(srctree, 'scripts/get_feat.pl'),
|
||||
os.path.join(srctree, 'tools/docs/get_feat.pl'),
|
||||
'rest',
|
||||
'--enable-fname',
|
||||
'--dir',
|
||||
|
||||
@@ -18,7 +18,7 @@ my $enable_fname;
|
||||
my $basename = abs_path($0);
|
||||
$basename =~ s,/[^/]+$,/,;
|
||||
|
||||
my $prefix=$basename . "../Documentation/features";
|
||||
my $prefix=$basename . "../../Documentation/features";
|
||||
|
||||
# Used only at for full features output. The script will auto-adjust
|
||||
# such values for the minimal possible values
|
||||
@@ -8,4 +8,4 @@
|
||||
|
||||
ARCH=${1:-$(uname -m | sed 's/x86_64/x86/' | sed 's/i386/x86/' | sed 's/s390x/s390/')}
|
||||
|
||||
$(dirname $0)/../../scripts/get_feat.pl list --arch $ARCH
|
||||
$(dirname $0)/get_feat.pl list --arch $ARCH
|
||||
Reference in New Issue
Block a user