Skip to content

Commit

Permalink
build: Remove the duplicated mksymtab.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
  • Loading branch information
xiaoxiang781216 authored and patacongo committed May 24, 2020
1 parent 69f013e commit d03ff1b
Show file tree
Hide file tree
Showing 14 changed files with 47 additions and 346 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ else

$(SYMTABSRC): $(foreach SDIR, $(CONFIGURED_APPS), $(SDIR)_all)
$(Q) $(MAKE) install TOPDIR="$(TOPDIR)"
$(Q) $(APPDIR)$(DELIM)tools$(DELIM)mksymtab.sh $(BINDIR) $@.tmp
$(Q) $(APPDIR)$(DELIM)tools$(DELIM)mksymtab.sh $(BINDIR) >$@.tmp
$(Q) $(call TESTANDREPLACEFILE, $@.tmp, $@)

$(SYMTABOBJ): %$(OBJEXT): %.c
Expand Down
2 changes: 1 addition & 1 deletion examples/elf/tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ $(DIRLIST_SRC): install
# Create the exported symbol table

$(SYMTAB_SRC): install
$(Q) $(TESTS_DIR)/mksymtab.sh $(FSIMG_DIR) >$@.tmp
$(Q) $(APPDIR)$(DELIM)tools$(DELIM)mksymtab.sh $(FSIMG_DIR) g_elf >$@.tmp
$(Q) $(call TESTANDREPLACEFILE, $@.tmp, $@)

# Clean each subdirectory
Expand Down
50 changes: 0 additions & 50 deletions examples/elf/tests/mksymtab.sh

This file was deleted.

2 changes: 1 addition & 1 deletion examples/module/drivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ endif
# Create the exported symbol table

$(SYMTAB_SRC): install
$(Q) $(DRIVER_DIR)/mksymtab.sh $(FSROOT_DIR) >$@.tmp
$(Q) $(APPDIR)$(DELIM)tools$(DELIM)mksymtab.sh $(FSROOT_DIR) g_mod >$@.tmp
$(Q) $(call TESTANDREPLACEFILE, $@.tmp, $@)

# Copy the symbol table into the kernel pass1/ build directory
Expand Down
50 changes: 0 additions & 50 deletions examples/module/drivers/mksymtab.sh

This file was deleted.

2 changes: 1 addition & 1 deletion examples/nxflat/tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ $(DIRLIST_SRC): install
# Create the exported symbol table list from the derived *-thunk.S files

$(SYMTAB_SRC): install
$(Q) $(TESTS_DIR)/mksymtab.sh $(ROMFS_DIR) >$@.tmp
$(Q) $(APPDIR)$(DELIM)tools$(DELIM)mksymtab.sh $(ROMFS_DIR) g_nxflat >$@.tmp
$(Q) $(call TESTANDREPLACEFILE, $@.tmp, $@)

# Clean each subdirectory
Expand Down
46 changes: 0 additions & 46 deletions examples/nxflat/tests/mksymtab.sh

This file was deleted.

2 changes: 1 addition & 1 deletion examples/posix_spawn/filesystem/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ $(ROMFS_SRC): $(ROMFS_IMG)
# Create the exported symbol table

$(SYMTAB_SRC): $(ROMFS_IMG)
$(Q) $(FILESYSTEM_DIR)$(DELIM)mksymtab.sh $(ROMFS_DIR) >$@.tmp
$(Q) $(APPDIR)$(DELIM)tools$(DELIM)mksymtab.sh $(ROMFS_DIR) g_spawn >$@.tmp
$(Q) $(call TESTANDREPLACEFILE, $@.tmp, $@)

# Clean each subdirectory
Expand Down
50 changes: 0 additions & 50 deletions examples/posix_spawn/filesystem/mksymtab.sh

This file was deleted.

2 changes: 1 addition & 1 deletion examples/sotest/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ endif
# Create the exported symbol table

$(SYMTAB_SRC): install
$(Q) $(LIB_DIR)/mksymtab.sh $(FSROOT_DIR) >$@.tmp
$(Q) $(APPDIR)$(DELIM)tools$(DELIM)mksymtab.sh $(FSROOT_DIR) g_sot | sed "/modprint/d" >$@.tmp
$(Q) $(call TESTANDREPLACEFILE, $@.tmp, $@)

# Clean each subdirectory
Expand Down
56 changes: 0 additions & 56 deletions examples/sotest/lib/mksymtab.sh

This file was deleted.

2 changes: 1 addition & 1 deletion examples/thttpd/content/Makefile.nxflat
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ $(ROMFS_SRC): $(ROMFS_IMG)
# Create the exported symbol table list from the derived *-thunk.S files

$(SYMTAB_SRC): install
$(Q) $(CONTENT_DIR)/mksymtab.sh $(CONTENT_DIR) >$@.tmp
$(Q) $(APPDIR)$(DELIM)tools$(DELIM)mksymtab.sh $(CONTENT_DIR) g_thttpd >$@.tmp
$(Q) $(call TESTANDREPLACEFILE, $@.tmp, $@)

# Nothing special needs to be done during the context phase
Expand Down
45 changes: 0 additions & 45 deletions examples/thttpd/content/mksymtab.sh

This file was deleted.

Loading

0 comments on commit d03ff1b

Please sign in to comment.