diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2012-11-29 17:27:34 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2012-11-29 17:30:54 +0100 |
commit | ee36a396cd1619585a83803630db2d79b6cbefbd (patch) | |
tree | d24e9737433147ef3e57f00f8734f0e54123b810 /utils/imxtools/sbtools/Makefile | |
parent | 0ee512ca04e52b62550bd06532ffa67bdeab3d04 (diff) | |
download | rockbox-ee36a396cd1619585a83803630db2d79b6cbefbd.tar.gz rockbox-ee36a396cd1619585a83803630db2d79b6cbefbd.zip |
imxtools: introduce rsrctool to manipulate rsrc sections
This tool is very preliminary but could be use for whatever
purpose since the format of the rsrc sections is now known.
By the way it appears that this format is the same as the
one use by the stmp36xx for its resources.
Change-Id: Idd7057f5cdce5af9726904169bb100c8bacb0981
Diffstat (limited to 'utils/imxtools/sbtools/Makefile')
-rw-r--r-- | utils/imxtools/sbtools/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/imxtools/sbtools/Makefile b/utils/imxtools/sbtools/Makefile index 7d00e4b8c1..bc7180d866 100644 --- a/utils/imxtools/sbtools/Makefile +++ b/utils/imxtools/sbtools/Makefile | |||
@@ -3,7 +3,7 @@ CC=gcc | |||
3 | LD=gcc | 3 | LD=gcc |
4 | CFLAGS=-g -std=c99 -W -Wall `pkg-config --cflags libusb-1.0` $(DEFINES) | 4 | CFLAGS=-g -std=c99 -W -Wall `pkg-config --cflags libusb-1.0` $(DEFINES) |
5 | LDFLAGS=`pkg-config --libs libusb-1.0` | 5 | LDFLAGS=`pkg-config --libs libusb-1.0` |
6 | BINS=elftosb sbtoelf sbloader | 6 | BINS=elftosb sbtoelf sbloader rsrctool |
7 | 7 | ||
8 | all: $(BINS) | 8 | all: $(BINS) |
9 | 9 | ||
@@ -19,6 +19,9 @@ elftosb: elftosb.o crc.o crypto.o aes128.o sha1.o elf.o dbparser.o misc.o sb.o | |||
19 | sbloader: sbloader.o | 19 | sbloader: sbloader.o |
20 | $(LD) -o $@ $^ $(LDFLAGS) | 20 | $(LD) -o $@ $^ $(LDFLAGS) |
21 | 21 | ||
22 | rsrctool: rsrctool.o rsrc.o misc.o | ||
23 | $(LD) -o $@ $^ $(LDFLAGS) | ||
24 | |||
22 | clean: | 25 | clean: |
23 | rm -fr *.o | 26 | rm -fr *.o |
24 | 27 | ||