Fix ipodpatcher to work with new target names introduced in r23883
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23906 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dd9fbbf7c8
commit
5742f89394
2 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
CFLAGS=-Wall -W
|
||||
|
||||
BOOT_H = ipod1g2g.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 ipodmini1g.h ipodmini2g.h ipodnano1g.h ipodvideo.h
|
||||
|
||||
# Enable the next two lines to build with embedded bootloaders and the
|
||||
# --install option and interactive mode. You need the full set of Rockbox
|
||||
|
@ -13,7 +13,7 @@ BOOTOBJS=1
|
|||
endif
|
||||
|
||||
ifdef BOOTOBJS
|
||||
BOOTSRC = ipod1g2g.c ipod3g.c ipod4g.c ipodcolor.c ipodmini.c ipodmini2g.c ipodnano.c ipodvideo.c ipodnano2g.c
|
||||
BOOTSRC = ipod1g2g.c ipod3g.c ipod4g.c ipodcolor.c ipodmini1g.c ipodmini2g.c ipodnano1g.c ipodvideo.c ipodnano2g.c
|
||||
CFLAGS += -DWITH_BOOTOBJS
|
||||
endif
|
||||
|
||||
|
|
|
@ -1648,8 +1648,8 @@ int getmodel(struct ipod_t* ipod, int ipod_version)
|
|||
ipod->modelname = "mini";
|
||||
ipod->targetname = "ipodmini1g";
|
||||
#ifdef WITH_BOOTOBJS
|
||||
ipod->bootloader = ipodmini;
|
||||
ipod->bootloader_len = LEN_ipodmini;
|
||||
ipod->bootloader = ipodmini1g;
|
||||
ipod->bootloader_len = LEN_ipodmini1g;
|
||||
#endif
|
||||
break;
|
||||
case 0x50:
|
||||
|
@ -1688,8 +1688,8 @@ int getmodel(struct ipod_t* ipod, int ipod_version)
|
|||
ipod->modelname = "nano";
|
||||
ipod->targetname = "ipodnano1g";
|
||||
#ifdef WITH_BOOTOBJS
|
||||
ipod->bootloader = ipodnano;
|
||||
ipod->bootloader_len = LEN_ipodnano;
|
||||
ipod->bootloader = ipodnano1g;
|
||||
ipod->bootloader_len = LEN_ipodnano1g;
|
||||
#endif
|
||||
break;
|
||||
case 0xb0:
|
||||
|
|
Loading…
Reference in a new issue