Skip to content

Commit

Permalink
apps/Make.defs: Improve the symtab target. tools/mksymtab.sh: Fix a t…
Browse files Browse the repository at this point in the history
…ypo.
  • Loading branch information
gregory-nutt committed Jul 17, 2018
1 parent 296f583 commit cb9e951
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,4 @@ endif

CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(APPDIR)$(DELIM)include"}
CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(APPDIR)$(DELIM)include"}

3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Empty file modified tools/incdir.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion tools/mksymtab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb9e951

Please sign in to comment.