apps/Make.defs: Improve the symtab target. tools/mksymtab.sh: Fix a typo.

This commit is contained in:
Gregory Nutt 2018-07-17 11:42:23 -06:00
parent 296f5839ab
commit cb9e9510d9
4 changed files with 4 additions and 2 deletions

View File

@ -110,3 +110,4 @@ endif
CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(APPDIR)$(DELIM)include"}
CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(APPDIR)$(DELIM)include"}

View File

@ -108,7 +108,8 @@ install: $(BIN_DIR) .install
.import: $(BIN) install
symtab:
symtab: $(BIN_DIR)
$(Q) tools/mksymtab.sh $(BIN_DIR) $(APPDIR)$(DELIM)import/symtab.c
$(call MAKE_template,import,symtab)
import:

0
tools/incdir.sh Normal file → Executable file
View File

View File

@ -83,7 +83,7 @@ for exec in ${execlist}; do
nm $exec | fgrep ' U ' | sed -e "s/^[ ]*//g" | cut -d' ' -f2 >>_tmplist.dat
done
varlist `cat _tmplist | sort - | uniq -`
varlist=`cat _tmplist | sort - | uniq -`
rm -f _tmplist
# Now output the symbol table as a structure in a C source file. All