summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2024-03-30 14:09:32 +0000
committerAidan MacDonald <amachronic@protonmail.com>2024-03-30 11:58:40 -0400
commit8bdf08cd2d5e1fc8c8846869d443e67f8cf96753 (patch)
tree011bc1e885dd56980d1a3b4e2e66a88637a14fdf
parent9f3d83d03f61837bd8e60d248abda523866670f2 (diff)
downloadrockbox-8bdf08cd2d.tar.gz
rockbox-8bdf08cd2d.zip
Sansa e200v2: Enable thumb for bootloader by default
Thumb bootloaders were confirmed to work in this post: https://forums.rockbox.org/index.php/topic,54768.msg253473.html#msg253473 Change-Id: Id52769b9b6a2acc167503fa61aec665f4090fdc1
-rwxr-xr-xtools/configure5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index 1f758a967d..adccc3e5e4 100755
--- a/tools/configure
+++ b/tools/configure
@@ -27,6 +27,7 @@ bindir=
libdir=
sharedir=
+arm_thumb_boot=
thread_support="ASSEMBLER_THREADS"
sysfont="08-Schumacher-Clean"
app_lcd_width=
@@ -2511,6 +2512,7 @@ fi
appextra="recorder:gui:radio"
plugins="yes"
toolset=$scramblebitmaptools
+ arm_thumb_boot=1
t_cpu="arm"
t_manufacturer="as3525"
t_model="sansa-e200v2"
@@ -4233,6 +4235,9 @@ fi
if test -n "$bootoutput"; then
output=$bootoutput
fi
+ if test -n "$arm_thumb_boot" && test -z "$ARG_ARM_THUMB"; then
+ ARG_ARM_THUMB=1
+ fi
extradefines="$extradefines -DBOOTLOADER -ffunction-sections -fdata-sections"
bootloader="1"
if [ -n "${sysfontbl}" ] ; then sysfont=$sysfontbl ; fi