Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags   |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) #!/bin/sh
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) in="$1"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) out="$2"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) my_abis=`echo "($3)" | tr ',' '|'`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | (
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)     while read nr abi name entry compat; do
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)         if [ "$abi" = "eabi" -a -n "$compat" ]; then
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)             echo "$in: error: a compat entry for an EABI syscall ($name) makes no sense" >&2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)             exit 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)         fi
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	if [ -n "$entry" ]; then
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)             if [ -z "$compat" ]; then
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)                 echo "NATIVE($nr, $entry)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)             else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)                 echo "COMPAT($nr, $entry, $compat)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)             fi
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)         fi
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)     done
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) ) > "$out"