Merged in masayuki2009/nuttx.apps/fix_mksymtab (pull request #147)

apps/tools: Fix an error in mksymtab.sh

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
Masayuki Ishikawa 2018-07-19 00:31:26 +00:00 committed by GregoryN
parent cb9e9510d9
commit 1030ea7c80

View File

@ -80,7 +80,7 @@ rm -f $outfile
execlist=`find ${dir} -executable -type f`
for exec in ${execlist}; do
nm $exec | fgrep ' U ' | sed -e "s/^[ ]*//g" | cut -d' ' -f2 >>_tmplist.dat
nm $exec | fgrep ' U ' | sed -e "s/^[ ]*//g" | cut -d' ' -f2 >>_tmplist
done
varlist=`cat _tmplist | sort - | uniq -`