From a3ba6725cb445f81e25a009aab51317e7d4a7dc9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 25 Aug 2006 12:19:08 +0000 Subject: 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 --- tools/configure | 23 +++++++++++------------ 1 file 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" ;; -- cgit v1.1