Merged in masayuki2009/nuttx.apps/fix_mksymtab (pull request #154)
apps/tools: Fix to generate CONFIG_SYSTEM_NSH_SYMTAB_COUNTNAME in mksymtab.sh Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
parent
fa8c4cbae3
commit
c229c14ded
@ -110,7 +110,7 @@ echo "" >>$outfile
|
||||
echo "#if defined(CONFIG_EXECFUNCS_HAVE_SYMTAB)" >>$outfile
|
||||
echo "const int CONFIG_EXECFUNCS_NSYMBOLS_VAR = sizeof(CONFIG_EXECFUNCS_SYMTAB_ARRAY) / sizeof(struct symtab_s);" >>$outfile
|
||||
echo "#elif defined(CONFIG_SYSTEM_NSH_SYMTAB)" >>$outfile
|
||||
echo "const int CONFIG_SYSTEM_NSH_SYMTAB_COUNTNAME = sizeof(CONFIG_SYSTEM_NSH_SYMTAB_COUNTNAME) / sizeof(struct symtab_s);" >>$outfile
|
||||
echo "const int CONFIG_SYSTEM_NSH_SYMTAB_COUNTNAME = sizeof(CONFIG_SYSTEM_NSH_SYMTAB_ARRAYNAME) / sizeof(struct symtab_s);" >>$outfile
|
||||
echo "#else" >>$outfile
|
||||
echo "const int dummy_nsymtabs = sizeof(dummy_symtab) / sizeof(struct symtab_s);" >>$outfile
|
||||
echo "#endif" >>$outfile
|
||||
|
Loading…
Reference in New Issue
Block a user