tools/mksymtab.sh: remove the quotes in varlist entry coming from *-thunk.S

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
liuhaitao 2020-06-10 19:36:59 +08:00 committed by Xiang Xiao
parent 0b322c9784
commit 68c89e8485

View File

@ -72,7 +72,8 @@ echo "#include <nuttx/compiler.h>"
echo "#include <nuttx/symtab.h>"
echo ""
for var in $varlist; do
for string in $varlist; do
var=`echo $string | sed -e "s/\"//g"`
echo "extern void *${var};"
done
@ -90,7 +91,8 @@ else
fi
echo "{"
for var in $varlist; do
for string in $varlist; do
var=`echo $string | sed -e "s/\"//g"`
echo " {\"${var}\", &${var}},"
done