1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Daniel Stenberg 2006-08-25 12:19:08 +00:00
parent 07eea49347
commit a3ba6725cb

17
tools/configure vendored
View file

@ -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"
;;
*)
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"
;;
esac
else
extradefines="-DBOOTLOADER" # for target makefile symbol EXTRA_DEFINES
appsdir='\$(ROOTDIR)/bootloader'
apps="bootloader"
fi
bootloader="1"
echo "Bootloader build selected"
;;