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:
parent
07eea49347
commit
a3ba6725cb
1 changed files with 11 additions and 12 deletions
17
tools/configure
vendored
17
tools/configure
vendored
|
|
@ -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"
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue