summaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-08-27 20:32:12 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-08-27 20:32:12 +0000
commit944c33403ca92d34d38e82a5778a456a2b5c3e01 (patch)
tree5cf616ab91ccaecfabdced39af9966965ab6210e /tools/Makefile
parent109a8677425eefd10e4a4df759e3c1c9c857ff45 (diff)
downloadrockbox-944c33403ca92d34d38e82a5778a456a2b5c3e01.tar.gz
rockbox-944c33403ca92d34d38e82a5778a456a2b5c3e01.tar.bz2
rockbox-944c33403ca92d34d38e82a5778a456a2b5c3e01.zip
* Commit dual-boot support for Creative ZVx family
* Add mkzenboot: makes it possible to integrate Rockbox bootloader with Creative firmwares without the need of distributing binaries * Add Tadeusz Pyś to credits, who figured out the minifs file system * Fix bootloader git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18352 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index f2497291d9..2e3f1e0fc1 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -13,7 +13,7 @@ LDFLAGS := -g
CLEANALL := scramble descramble iriver sh2d bmp2rb rdf2binary convbdf \
generate_rocklatin mkboot ipod_fw codepages uclpack mi4 gigabeat database \
- lngdump telechips gigabeats creative hmac-sha1 mktccboot mknkboot rbspeexenc
+ lngdump telechips gigabeats creative hmac-sha1 mktccboot mknkboot rbspeexenc mkzenboot
all:
@echo "Run make in your build directory!"
@@ -51,6 +51,12 @@ mktccboot: mktccboot.c telechips.o
mknkboot: mknkboot.c
$(SILENT)$(CC) $(CFLAGS) $+ -o $@
+mkzenboot.o: mkzenboot.c
+ $(SILENT)$(CC) $(CFLAGS) -DSTANDALONE -c -o $@ $+
+
+mkzenboot: mkzenboot.o hmac-sha1.o
+ $(SILENT)$(CC) $(LDFLAGS) -lz $+ -o $@
+
lngdump: lngdump.c
$(SILENT)$(CC) $(CFLAGS) $+ -o $@