![]() |
|
|||
0001 #!/bin/sh 0002 # SPDX-License-Identifier: GPL-2.0 0003 0004 set -e 0005 0006 # List of exported symbols 0007 # 0008 # If the object has no symbol, $NM warns 'no symbols'. 0009 # Suppress the stderr. 0010 # TODO: 0011 # Use -q instead of 2>/dev/null when we upgrade the minimum version of 0012 # binutils to 2.37, llvm to 13.0.0. 0013 ksyms=$($NM $1 2>/dev/null | sed -n 's/.*__ksym_marker_\(.*\)/\1/p') 0014 0015 if [ -z "$ksyms" ]; then 0016 exit 0 0017 fi 0018 0019 echo 0020 echo "ksymdeps_$1 := \\" 0021 0022 for s in $ksyms 0023 do 0024 printf ' $(wildcard include/ksym/%s) \\\n' "$s" 0025 done 0026 0027 echo 0028 echo "$1: \$(ksymdeps_$1)" 0029 echo 0030 echo "\$(ksymdeps_$1):"
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |