From ee36a396cd1619585a83803630db2d79b6cbefbd Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 29 Nov 2012 17:27:34 +0100 Subject: 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 --- utils/imxtools/sbtools/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'utils/imxtools/sbtools/Makefile') 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 LD=gcc CFLAGS=-g -std=c99 -W -Wall `pkg-config --cflags libusb-1.0` $(DEFINES) LDFLAGS=`pkg-config --libs libusb-1.0` -BINS=elftosb sbtoelf sbloader +BINS=elftosb sbtoelf sbloader rsrctool all: $(BINS) @@ -19,6 +19,9 @@ elftosb: elftosb.o crc.o crypto.o aes128.o sha1.o elf.o dbparser.o misc.o sb.o sbloader: sbloader.o $(LD) -o $@ $^ $(LDFLAGS) +rsrctool: rsrctool.o rsrc.o misc.o + $(LD) -o $@ $^ $(LDFLAGS) + clean: rm -fr *.o -- cgit v1.2.3