summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2005-06-21 00:11:14 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2005-06-21 00:11:14 +0000
commit9cfa47a22647a293ea1697456fcdbaddc975830c (patch)
tree81c5bb8ab3e27f28b4261cff76a2d86b9da809b4 /tools/configure
parentb6bd58261a253577dad9a7a5496d7717f9f6e4b8 (diff)
"Bootbox" is a minimalistic rescue firmware for Archos models. Not working yet (Rolo problems). Created by configure script as bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6786 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure14
1 files changed, 8 insertions, 6 deletions
diff --git a/tools/configure b/tools/configure
index e4b3867ba3..464ea4c220 100755
--- a/tools/configure
+++ b/tools/configure
@@ -564,13 +564,15 @@ fi
case $option in
[Bb])
- if [ "$archos" != "h100" ]; then
- echo "only the iRiver_h100 platform can build a boot loader";
- exit
+ 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
- extradefines="-DBOOTLOADER" # for target makefile symbol EXTRA_DEFINES
- appsdir='\$(ROOTDIR)/bootloader'
- apps="bootloader"
bootloader="1"
echo "Bootloader build selected"
;;