diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-03-16 14:58:59 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-03-16 14:58:59 -0700 |
commit | 1b16387a996dcad53c3179b053162f7fee543254 (patch) | |
tree | 5c3b5a06cc04a12aad4472b7190b8d09fd6e81bf /ROMFS | |
parent | 6b947a67d07eadc7dc882edf4505377085979784 (diff) | |
parent | de078b4525c3a7f34fc3955fb9fef3564f20d62a (diff) | |
download | px4-firmware-1b16387a996dcad53c3179b053162f7fee543254.tar.gz px4-firmware-1b16387a996dcad53c3179b053162f7fee543254.tar.bz2 px4-firmware-1b16387a996dcad53c3179b053162f7fee543254.zip |
Merge pull request #221 from PX4/const-sweep
Mark a number of things (most particularly the ROMFS) const to save RAM
Diffstat (limited to 'ROMFS')
-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... |