summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher/Makefile
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-07-26 20:21:11 +0000
committerDave Chapman <dave@dchapman.com>2007-07-26 20:21:11 +0000
commit6a20def805f12a8044d65dd53543d7d61d331a80 (patch)
tree741689aeaeca7d3c9340292e63e356259fe60c49 /rbutil/ipodpatcher/Makefile
parentd8873fbb7edc2c282f4781d491a1b39dbd767b47 (diff)
downloadrockbox-6a20def805f12a8044d65dd53543d7d61d331a80.tar.gz
rockbox-6a20def805f12a8044d65dd53543d7d61d331a80.tar.bz2
rockbox-6a20def805f12a8044d65dd53543d7d61d331a80.zip
Initial (untested apart from device detection) support for 1st/2nd gen ipods (the original ones...).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14010 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/ipodpatcher/Makefile')
-rw-r--r--rbutil/ipodpatcher/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/rbutil/ipodpatcher/Makefile b/rbutil/ipodpatcher/Makefile
index 3bbdb51eb7..a67316187e 100644
--- a/rbutil/ipodpatcher/Makefile
+++ b/rbutil/ipodpatcher/Makefile
@@ -1,13 +1,13 @@
CFLAGS=-Wall
-BOOT_H = ipod3g.h ipod4g.h ipodcolor.h ipodmini.h ipodmini2g.h ipodnano.h ipodvideo.h
+BOOT_H = ipod1g2g.h ipod3g.h ipod4g.h ipodcolor.h ipodmini.h ipodmini2g.h ipodnano.h ipodvideo.h
# Uncomment the next two lines to build with embedded bootloaders and the
# --install option and interactive mode. You need the full set of Rockbox
# bootloaders in this directory - download them from
# http://download.rockbox.org/bootloader/ipod/bootloaders.zip
-#BOOTSRC = ipod3g.c ipod4g.c ipodcolor.c ipodmini.c ipodmini2g.c ipodnano.c ipodvideo.c
+#BOOTSRC = ipod1g2g.c ipod3g.c ipod4g.c ipodcolor.c ipodmini.c ipodmini2g.c ipodnano.c ipodvideo.c
#CFLAGS += -DWITH_BOOTOBJS
ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN)
@@ -48,6 +48,9 @@ ipodpatcher-ppc: $(SRC) ipodio-posix.c $(BOOTSRC)
ipod2c: ipod2c.c
$(NATIVECC) $(CFLAGS) -o ipod2c ipod2c.c
+ipod1g2g.c: bootloader-ipod1g2g.ipod ipod2c
+ ./ipod2c bootloader-ipod1g2g.ipod ipod1g2g
+
ipod3g.c: bootloader-ipod3g.ipod ipod2c
./ipod2c bootloader-ipod3g.ipod ipod3g