From 712a1df0ecdb99869fc3c801ba52259a3789d98f Mon Sep 17 00:00:00 2001 From: px4dev Date: Sun, 10 Mar 2013 13:46:23 -0700 Subject: Mark the ROMFS as const, saves ~25KiB of RAM. --- ROMFS/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ROMFS') 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... -- cgit v1.2.3