mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-10 15:05:13 +00:00
apps/examples/elf: Use strip command to make ELF binaries MUCH smaller.
This commit is contained in:
parent
e413211e6e
commit
9dcf0c5ecb
3 changed files with 15 additions and 7 deletions
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue