diff options
Diffstat (limited to 'rbutil/ipodpatcher')
-rw-r--r-- | rbutil/ipodpatcher/Makefile | 12 | ||||
-rw-r--r-- | rbutil/ipodpatcher/ipodpatcher.c | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/rbutil/ipodpatcher/Makefile b/rbutil/ipodpatcher/Makefile index 9c32587fa1..4970445773 100644 --- a/rbutil/ipodpatcher/Makefile +++ b/rbutil/ipodpatcher/Makefile | |||
@@ -1,13 +1,13 @@ | |||
1 | CFLAGS=-Wall -W | 1 | CFLAGS=-Wall -W |
2 | 2 | ||
3 | BOOT_H = ipod1g2g.h ipod3g.h ipod4g.h ipodcolor.h ipodmini.h ipodmini2g.h ipodnano.h ipodvideo.h | 3 | BOOT_H = ipod1g2g.h ipod3g.h ipod4g.h ipodcolor.h ipodmini1g.h ipodmini2g.h ipodnano1g.h ipodvideo.h |
4 | 4 | ||
5 | # Uncomment the next two lines to build with embedded bootloaders and the | 5 | # Uncomment the next two lines to build with embedded bootloaders and the |
6 | # --install option and interactive mode. You need the full set of Rockbox | 6 | # --install option and interactive mode. You need the full set of Rockbox |
7 | # bootloaders in this directory - download them from | 7 | # bootloaders in this directory - download them from |
8 | # http://download.rockbox.org/bootloader/ipod/bootloaders.zip | 8 | # http://download.rockbox.org/bootloader/ipod/bootloaders.zip |
9 | 9 | ||
10 | #BOOTSRC = ipod1g2g.c ipod3g.c ipod4g.c ipodcolor.c ipodmini.c ipodmini2g.c ipodnano.c ipodvideo.c | 10 | #BOOTSRC = ipod1g2g.c ipod3g.c ipod4g.c ipodcolor.c ipodmini1g.c ipodmini2g.c ipodnano1g.c ipodvideo.c |
11 | #CFLAGS += -DWITH_BOOTOBJS | 11 | #CFLAGS += -DWITH_BOOTOBJS |
12 | 12 | ||
13 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) | 13 | ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) |
@@ -69,14 +69,14 @@ ipod4g.c: bootloader-ipod4g.ipod ipod2c | |||
69 | ipodcolor.c: bootloader-ipodcolor.ipod ipod2c | 69 | ipodcolor.c: bootloader-ipodcolor.ipod ipod2c |
70 | ./ipod2c bootloader-ipodcolor.ipod ipodcolor | 70 | ./ipod2c bootloader-ipodcolor.ipod ipodcolor |
71 | 71 | ||
72 | ipodmini.c: bootloader-ipodmini.ipod ipod2c | 72 | ipodmini1g.c: bootloader-ipodmini1g.ipod ipod2c |
73 | ./ipod2c bootloader-ipodmini.ipod ipodmini | 73 | ./ipod2c bootloader-ipodmini1g.ipod ipodmini1g |
74 | 74 | ||
75 | ipodmini2g.c: bootloader-ipodmini2g.ipod ipod2c | 75 | ipodmini2g.c: bootloader-ipodmini2g.ipod ipod2c |
76 | ./ipod2c bootloader-ipodmini2g.ipod ipodmini2g | 76 | ./ipod2c bootloader-ipodmini2g.ipod ipodmini2g |
77 | 77 | ||
78 | ipodnano.c: bootloader-ipodnano.ipod ipod2c | 78 | ipodnano1g.c: bootloader-ipodnano1g.ipod ipod2c |
79 | ./ipod2c bootloader-ipodnano.ipod ipodnano | 79 | ./ipod2c bootloader-ipodnano1g.ipod ipodnano1g |
80 | 80 | ||
81 | ipodvideo.c: bootloader-ipodvideo.ipod ipod2c | 81 | ipodvideo.c: bootloader-ipodvideo.ipod ipod2c |
82 | ./ipod2c bootloader-ipodvideo.ipod ipodvideo | 82 | ./ipod2c bootloader-ipodvideo.ipod ipodvideo |
diff --git a/rbutil/ipodpatcher/ipodpatcher.c b/rbutil/ipodpatcher/ipodpatcher.c index 1a5268bb6d..361232cd27 100644 --- a/rbutil/ipodpatcher/ipodpatcher.c +++ b/rbutil/ipodpatcher/ipodpatcher.c | |||
@@ -37,10 +37,10 @@ | |||
37 | #include "ipod1g2g.h" | 37 | #include "ipod1g2g.h" |
38 | #include "ipod3g.h" | 38 | #include "ipod3g.h" |
39 | #include "ipod4g.h" | 39 | #include "ipod4g.h" |
40 | #include "ipodmini.h" | 40 | #include "ipodmini1g.h" |
41 | #include "ipodmini2g.h" | 41 | #include "ipodmini2g.h" |
42 | #include "ipodcolor.h" | 42 | #include "ipodcolor.h" |
43 | #include "ipodnano.h" | 43 | #include "ipodnano1g.h" |
44 | #include "ipodvideo.h" | 44 | #include "ipodvideo.h" |
45 | #endif | 45 | #endif |
46 | 46 | ||
@@ -1224,7 +1224,7 @@ int getmodel(struct ipod_t* ipod, int ipod_version) | |||
1224 | ipod->modelstr="1st Generation Nano"; | 1224 | ipod->modelstr="1st Generation Nano"; |
1225 | ipod->modelnum = 4; | 1225 | ipod->modelnum = 4; |
1226 | ipod->modelname = "nano"; | 1226 | ipod->modelname = "nano"; |
1227 | ipod->targetname = "ipodnano"; | 1227 | ipod->targetname = "ipodnano1g"; |
1228 | #ifdef WITH_BOOTOBJS | 1228 | #ifdef WITH_BOOTOBJS |
1229 | ipod->bootloader = ipodnano; | 1229 | ipod->bootloader = ipodnano; |
1230 | ipod->bootloader_len = LEN_ipodnano; | 1230 | ipod->bootloader_len = LEN_ipodnano; |