diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2006-08-25 12:19:08 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2006-08-25 12:19:08 +0000 |
| commit | a3ba6725cb445f81e25a009aab51317e7d4a7dc9 (patch) | |
| tree | 2f95451e0fb447663272163d7290670eec3f4c25 /tools | |
| parent | 07eea493471a774e8281a9d1a8775f854349676c (diff) | |
| download | rockbox-a3ba6725cb445f81e25a009aab51317e7d4a7dc9.zip rockbox-a3ba6725cb445f81e25a009aab51317e7d4a7dc9.tar.gz rockbox-a3ba6725cb445f81e25a009aab51317e7d4a7dc9.tar.bz2 rockbox-a3ba6725cb445f81e25a009aab51317e7d4a7dc9.tar.xz | |
fixed the bootloader check to not have to get a huuuuge set of targets but
instead rely on the archosrom variable which is already set for Archos-SH
players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10745 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/configure | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/tools/configure b/tools/configure index dad1042..c75bc36 100755 --- a/tools/configure +++ b/tools/configure @@ -1011,18 +1011,17 @@ fi case $option in [Bb]) - case $archos in - h100|h120|h300|x5|ipodcolor|ipodnano|ipodvideo|ipod3g|ipod4g|ipodmini|ipodmini2g|gigabeatf|h10|e200|h10_5gb) - extradefines="-DBOOTLOADER" # for target makefile symbol EXTRA_DEFINES - appsdir='\$(ROOTDIR)/bootloader' - apps="bootloader" - ;; - *) - extradefines="-DBOOTLOADER -ffunction-sections -fdata-sections" - appsdir='\$(ROOTDIR)/flash/bootbox' - apps="bootbox" - ;; - esac + if test -n "$archosrom"; then + # Archos SH-based players do this somewhat differently for + # some reason + extradefines="-DBOOTLOADER -ffunction-sections -fdata-sections" + appsdir='\$(ROOTDIR)/flash/bootbox' + apps="bootbox" + else + extradefines="-DBOOTLOADER" # for target makefile symbol EXTRA_DEFINES + appsdir='\$(ROOTDIR)/bootloader' + apps="bootloader" + fi bootloader="1" echo "Bootloader build selected" ;; |