@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phpmyadmin-ubuntu-m-2vcpu-16gb-blr1-01 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Current Path :
/
lib
/
modules
/
5.4.0-216-generic
/
build
/
scripts
/
Path :
Upload File :
New :
File
Dir
//lib/modules/5.4.0-216-generic/build/scripts/gen_ksymdeps.sh
#!/bin/sh # SPDX-License-Identifier: GPL-2.0 set -e # List of exported symbols # # If the object has no symbol, $NM warns 'no symbols'. # Suppress the stderr. # TODO: # Use -q instead of 2>/dev/null when we upgrade the minimum version of # binutils to 2.37, llvm to 13.0.0. ksyms=$($NM $1 2>/dev/null | sed -n 's/.*__ksym_marker_\(.*\)/\1/p' | tr A-Z a-z) if [ -z "$ksyms" ]; then exit 0 fi echo echo "ksymdeps_$1 := \\" for s in $ksyms do echo $s | sed -e 's:^_*: $(wildcard include/ksym/:' \ -e 's:__*:/:g' -e 's/$/.h) \\/' done echo echo "$1: \$(ksymdeps_$1)" echo echo "\$(ksymdeps_$1):"