diff options
author | px4dev <px4@purgatory.org> | 2013-03-10 13:46:23 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2013-03-10 13:46:23 -0700 |
commit | 712a1df0ecdb99869fc3c801ba52259a3789d98f (patch) | |
tree | c1f5b625563f23f7a7cb908c0c47c116e6b2ff4b | |
parent | c720a3238014e347fb84063a3fee2f9c812b3bf8 (diff) | |
download | px4-firmware-712a1df0ecdb99869fc3c801ba52259a3789d98f.tar.gz px4-firmware-712a1df0ecdb99869fc3c801ba52259a3789d98f.tar.bz2 px4-firmware-712a1df0ecdb99869fc3c801ba52259a3789d98f.zip |
Mark the ROMFS as const, saves ~25KiB of RAM.
-rw-r--r-- | ROMFS/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ROMFS/Makefile b/ROMFS/Makefile index d827fa491..15167bf47 100644 --- a/ROMFS/Makefile +++ b/ROMFS/Makefile @@ -81,7 +81,7 @@ all: $(ROMFS_HEADER) $(ROMFS_HEADER): $(ROMFS_IMG) $(dir $(ROMFS_HEADER)) @echo Generating the ROMFS header... - @(cd $(dir $(ROMFS_IMG)) && xxd -i $(notdir $(ROMFS_IMG))) > $@ + @(cd $(dir $(ROMFS_IMG)) && xxd -i $(notdir $(ROMFS_IMG))) | sed -e 's/char/const char/' > $@ $(ROMFS_IMG): $(ROMFS_WORKDIR) @echo Generating the ROMFS image... |