path: root/tools/Makefile
diff options
authorJens Arnold <>2008-03-18 20:58:52 +0000
committerJens Arnold <>2008-03-18 20:58:52 +0000
commit3c4afa4a20dfbb59caf0bd5de6496344fcd886e9 (patch)
treeee23b8190f13be1145cf4ae460bf5ec3481d6b58 /tools/Makefile
parent265621729b4bb9b99a1f3e250330f91b672350db (diff)
Make scramble add the flash logo when encoding for iAudio. It's only shown on M3 with the cowon loader versions I've seen, but the space is reserved in all coldfire iaudio flash files (was just zeroed before).
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/Makefile')
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 17887b2d48..6351e5bec4 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -18,16 +18,19 @@ CLEANALL := scramble descramble iriver sh2d bmp2rb rdf2binary convbdf \
@echo "Run make in your build directory!"
-scramble: scramble.o iriver.o mi4.o gigabeat.o gigabeats.o telechips.o
+scramble: scramble.o iriver.o mi4.o gigabeat.o gigabeats.o telechips.o iaudio_bl_flash.o
descramble: descramble.o iriver.o gigabeat.o
-scramble.o: scramble.c iriver.h mi4.h gigabeat.h telechips.h
+scramble.o: scramble.c iriver.h mi4.h gigabeat.h telechips.h iaudio_bl_flash.h
descramble.o: descramble.c iriver.h gigabeat.h
iriver.o: iriver.c iriver.h
gigabeat.o: gigabeat.c gigabeat.h
gigabeats.o: gigabeats.c gigabeats.h
mi4.o: mi4.c mi4.h
telechips.o: telechips.c telechips.h
+iaudio_bl_flash.o: iaudio_bl_flash.c iaudio_bl_flash.h
+iaudio_bl_flash.c iaudio_bl_flash.h: iaudio_bl_flash.bmp bmp2rb
+ $(SILENT)./bmp2rb -f 7 -h . $< >iaudio_bl_flash.c
sh2d: sh2d.c