This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 68c89e84852a26d54d6850be87dfcd48fff09f49 Author: liuhaitao <[email protected]> AuthorDate: Wed Jun 10 19:36:59 2020 +0800 tools/mksymtab.sh: remove the quotes in varlist entry coming from *-thunk.S Signed-off-by: liuhaitao <[email protected]> --- tools/mksymtab.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/mksymtab.sh b/tools/mksymtab.sh index 811a886..064907b 100755 --- a/tools/mksymtab.sh +++ b/tools/mksymtab.sh @@ -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
