summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-07-09 07:45:16 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-07-09 07:45:16 +0000
commitf69c77933c7fca7b72dfc6aa94cbe03651a149f8 (patch)
tree6a4f53df3a30bc46a98377a9002882b45176c182
parent6fa590b0a74c8328c37e1f25afcb2c64cf5fcedb (diff)
downloadrockbox-f69c77933c7fca7b72dfc6aa94cbe03651a149f8.tar.gz
rockbox-f69c77933c7fca7b72dfc6aa94cbe03651a149f8.zip
Wrong appsdir for the H120 boot loader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7081 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/configure21
1 files changed, 12 insertions, 9 deletions
diff --git a/tools/configure b/tools/configure
index 60bf11c7a9..520add2233 100755
--- a/tools/configure
+++ b/tools/configure
@@ -581,15 +581,18 @@ fi
case $option in
[Bb])
- if [ "$archos" = "h100" ]; then
- extradefines="-DBOOTLOADER" # for target makefile symbol EXTRA_DEFINES
- appsdir='\$(ROOTDIR)/bootloader'
- apps="bootloader"
- else
- extradefines="-DBOOTLOADER -ffunction-sections -fdata-sections"
- appsdir='\$(ROOTDIR)/flash/bootbox'
- apps="bootbox"
- fi
+ case $archos in
+ h100|h120)
+ 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
bootloader="1"
echo "Bootloader build selected"
;;