Linux Audio

Check our new training course

Loading...
v6.13.7
 1# SPDX-License-Identifier: GPL-2.0
 2#
 3# Small script that visualizes the kernel feature support status
 4# of an architecture.
 5#
 6# (If no arguments are given then it will print the host architecture's status.)
 7#
 8
 9ARCH=${1:-$(uname -m | sed 's/x86_64/x86/' | sed 's/i386/x86/')}
10
11$(dirname $0)/../../scripts/get_feat.pl list --arch $ARCH
 
 
 
 
 
 
 
 
 
 
 
 
 
 
v5.9
 
 1#
 2# Small script that visualizes the kernel feature support status
 3# of an architecture.
 4#
 5# (If no arguments are given then it will print the host architecture's status.)
 6#
 7
 8ARCH=${1:-$(uname -m | sed 's/x86_64/x86/' | sed 's/i386/x86/')}
 9
10cd $(dirname $0)
11echo "#"
12echo "# Kernel feature support matrix of the '$ARCH' architecture:"
13echo "#"
14
15for F in */*/arch-support.txt; do
16  SUBSYS=$(echo $F | cut -d/ -f1)
17  N=$(grep -h "^# Feature name:"        $F | cut -c25-)
18  C=$(grep -h "^#         Kconfig:"     $F | cut -c25-)
19  D=$(grep -h "^#         description:" $F | cut -c25-)
20  S=$(grep -hv "^#" $F | grep -w $ARCH | cut -d\| -f3)
21
22  printf "%10s/%-22s:%s| %35s # %s\n" "$SUBSYS" "$N" "$S" "$C" "$D"
23done
24