diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-11-30 16:36:32 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-12-03 23:10:14 +0100 |
commit | ca908577790fd0dc3070813b752d7eb7f74e609f (patch) | |
tree | 60e114957e75d030fc749a07561a5b27047932df /Documentation/sphinx/kernel_feat.py | |
parent | scripts: get_feat.pl: improve matrix output (diff) | |
download | linux-ca908577790fd0dc3070813b752d7eb7f74e609f.tar.xz linux-ca908577790fd0dc3070813b752d7eb7f74e609f.zip |
scripts: get_feat.pl: use its implementation for list-arch.sh
Add support for the same output format as the bash script,
and use its implementation instead of the previous one.
I opted to do such patch in order to have a single script
responsible for parsing Documentation/features and
produce different outputs.
As someone may rely on the past format, which is easy
to parse it, get_feat.pl now gains a new command with
the same output format as the previous script.
As a side effect, the perl script is a lot faster, as it reads
each file only once, instead of parsing files several times
via a for command and grep commands inside it.
This patch also changes the features list order to be
case-insensitive, in order to better match the output of
the existing script.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/a97f49677805ad4e6b982d02c0db8c9dfbbd20a6.1606748711.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/sphinx/kernel_feat.py')
0 files changed, 0 insertions, 0 deletions