forked from len0rd/rockbox
"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
This commit is contained in:
parent
b6bd58261a
commit
9cfa47a226
5 changed files with 335 additions and 6 deletions
14
tools/configure
vendored
14
tools/configure
vendored
|
@ -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"
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue