apps/examples/elf: Use strip command to make ELF binaries MUCH smaller.

This commit is contained in:
Gregory Nutt 2018-03-25 09:39:18 -06:00
parent e413211e6e
commit 9dcf0c5ecb
3 changed files with 15 additions and 7 deletions

View file

@ -63,6 +63,7 @@ redirect/redirect:
$(Q) $(MAKE) -C redirect redirect TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" ROMFS_DIR="$(ROMFS_DIR)"
# Create the romfs.img file from the romfs directory
# REVISIT: ELF binaries should be stripped so that they are not so big
$(ROMFS_IMG): hello/hello redirect/redirect testdata.txt $(ROMFS_DIR)
$(Q) $(MAKE) -C hello install TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" ROMFS_DIR="$(ROMFS_DIR)"