From d29663a412872d69c877e282e6a90a3cf07c06c4 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 21 Sep 2025 15:50:24 -0400 Subject: [PATCH] Revert "configure: remove redundant ARG_ARM_THUMB checks" This reverts commit 5323c49fe6bea9cf4983c3a76d01ecd38aa59ca8. This caused build failures on two of the three affected targets. The intent of the delted code was to force thumb on unless it had been explicitly disabled. Due to extreme space constraints those targets _need_ to be built in thumb mode. --- tools/configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/configure b/tools/configure index 3f7e22b4b8..7ce341c094 100755 --- a/tools/configure +++ b/tools/configure @@ -2421,6 +2421,7 @@ fi t_manufacturer="as3525" t_model="sansa-clip" sysfont="08-Rockfont" + if [ "$ARG_ARM_THUMB" != 0 ]; then ARG_ARM_THUMB=1; fi arm9tdmicc ;; @@ -2461,6 +2462,7 @@ fi t_manufacturer="as3525" t_model="sansa-m200v4" sysfont="08-Rockfont" + if [ "$ARG_ARM_THUMB" != 0 ]; then ARG_ARM_THUMB=1; fi arm9tdmicc ;; @@ -2502,6 +2504,7 @@ fi t_cpu="arm" t_manufacturer="as3525" t_model="sansa-c200v2" + if [ "$ARG_ARM_THUMB" != 0 ]; then ARG_ARM_THUMB=1; fi arm9tdmicc ;;