Skip to content

Commit

Permalink
tools/mksymtab.sh: remove the quotes in varlist entry coming from *-t…
Browse files Browse the repository at this point in the history
…hunk.S

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
  • Loading branch information
liuguo09 authored and xiaoxiang781216 committed Jun 10, 2020
1 parent 0b322c9 commit 68c89e8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/mksymtab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 68c89e8

Please sign in to comment.