ABI: Update section name in script and internal allowed list
With commit 'e83321764 ANDROID: KMI symbol lists: migrate section name' section name is updated for allowed list. Update the usage to symbol_list in script as well. Change-Id: Ie6aa6706405a8b0a79359d4314679c48e42160db Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
This commit is contained in:
parent
935a33f10a
commit
a7dbb464f4
@ -1,6 +1,6 @@
|
|||||||
# List of symbols exported by QCOM in-kernel drivers and used by external DLKMs
|
# List of symbols exported by QCOM in-kernel drivers and used by external DLKMs
|
||||||
# QCOM internal whitelist
|
# QCOM internal whitelist
|
||||||
[abi_whitelist]
|
[abi_symbol_list]
|
||||||
cnss_lock_pm_sem
|
cnss_lock_pm_sem
|
||||||
cnss_release_pm_sem
|
cnss_release_pm_sem
|
||||||
cnss_get_fw_files_for_target
|
cnss_get_fw_files_for_target
|
||||||
|
@ -48,7 +48,7 @@ EOT
|
|||||||
sed 's/ko$/mod/' $modlist |
|
sed 's/ko$/mod/' $modlist |
|
||||||
xargs -n1 sed -n -e '2{s/ /\n/g;/^$/!p;}' -- |
|
xargs -n1 sed -n -e '2{s/ /\n/g;/^$/!p;}' -- |
|
||||||
cat - $ksym_wls |
|
cat - $ksym_wls |
|
||||||
sed 's/^#.*//;s/^ *//;/[[abi_whitelist]]/g' |
|
sed 's/^#.*//;s/^ *//;/[[abi_symbol_list]]/g' |
|
||||||
sort -u |
|
sort -u |
|
||||||
sed -e 's/\(.*\)/#define __KSYM_\1 1/' >> "$output_file"
|
sed -e 's/\(.*\)/#define __KSYM_\1 1/' >> "$output_file"
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ if [ -n "$CONFIG_UNUSED_KSYMS_WHITELIST_ONLY" ] && [ -f "vmlinux" ] ; then
|
|||||||
syms_from_vmlinux="$(mktemp)"
|
syms_from_vmlinux="$(mktemp)"
|
||||||
|
|
||||||
cat $ksym_wls |
|
cat $ksym_wls |
|
||||||
sed 's/^#.*//;s/^ *//;/[[abi_whitelist]]/g' |
|
sed 's/^#.*//;s/^ *//;/[[abi_symbol_list]]/g' |
|
||||||
sort -u > "$syms_from_whitelist"
|
sort -u > "$syms_from_whitelist"
|
||||||
|
|
||||||
$NM --defined-only vmlinux |
|
$NM --defined-only vmlinux |
|
||||||
|
Loading…
Reference in New Issue
Block a user