da8a6a90c3
They have been rewritten for being completely free and as fast as possible. Successfully extracted, patched, repacked and flashed original firmware (tested on device and it worked) Change-Id: I74d47d13f2dc3a2832a0d6821d3c2182dfd4b33b Reviewed-on: http://gerrit.rockbox.org/506 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Tested-by: Thomas Martitz <kugel@rockbox.org>
20 lines
347 B
Makefile
20 lines
347 B
Makefile
DEFINES=
|
|
CC=gcc
|
|
LD=gcc
|
|
CFLAGS=-g -std=c99 -W -Wall $(DEFINES)
|
|
LDFLAGS=
|
|
BINS=fwcrypt fwdecrypt
|
|
|
|
all: $(BINS)
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
fwdecrypt: fwdecrypt.o common.o ../../tools/fwpatcher/md5.o
|
|
$(LD) -o $@ $^ $(LDFLAGS)
|
|
|
|
fwcrypt: fwcrypt.o common.o ../../tools/fwpatcher/md5.o
|
|
$(LD) -o $@ $^ $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -fr *.o $(BINS)
|