mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
tools/mksymtab.sh: Fix issue to generate symtab_apps.c for MSYS
The file permission is used to get the execlist, but the file permission cannot be changed for MSYS environment. As a result, symtab_apps.c cannot be generated correctly. This commit removes the permission match.
This commit is contained in:
parent
8d3a536650
commit
562239ecb2
1 changed files with 2 additions and 2 deletions
|
|
@ -42,9 +42,9 @@ prefix=$2
|
|||
|
||||
varlist=`find $dir -name *-thunk.S 2>/dev/null | xargs grep -h asciz | cut -f3 | sort | uniq`
|
||||
if [ -z "$varlist" ]; then
|
||||
execlist=`find $dir -type f -perm -a=x 2>/dev/null`
|
||||
execlist=`find $dir -type f 2>/dev/null`
|
||||
if [ ! -z "$execlist" ]; then
|
||||
varlist=`nm $execlist | fgrep ' U ' | sed -e "s/^[ ]*//g" | cut -d' ' -f2 | sort | uniq`
|
||||
varlist=`nm $execlist 2>/dev/null | fgrep ' U ' | sed -e "s/^[ ]*//g" | cut -d' ' -f2 | sort | uniq`
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue