configure: Explicitly disallow erosqnative_v3/v4 for "normal" builds
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Sat, 2 May 2026 07:48:22 -0400
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 89dd08a3b46371233bca5e55c255f004cf01d3c3 Author: Solomon Peachy <[email protected]> Date: Sat May 2 07:40:15 2026 -0400 configure: Explicitly disallow erosqnative_v3/v4 for "normal" builds They are only intended for bootloaders. Change-Id: I4da3e7acd55b803e016bc9c42526860dfdc6fa9a diff --git a/tools/configure b/tools/configure index 27fb62803c..800013ee25 100755 --- a/tools/configure +++ b/tools/configure @@ -3976,6 +3976,7 @@ fi # player version, for bootloader usage # version 3 extradefines="$extradefines -DEROSQN_VER=3" + bootloader_only=1 ;; 249|erosqnative_v4) @@ -4004,6 +4005,7 @@ fi # player version, for bootloader usage # version 4 extradefines="$extradefines -DEROSQN_VER=4" + bootloader_only=1 ;; 232|ihifi770c) @@ -4412,6 +4414,11 @@ if [ -z "$debug" ]; then GCCOPTS="$GCCOPTS $GCCOPTIMIZE" fi +if [ "$bootloader_only" = "1" -a "$bootloader" != "1" ]; then + echo "Target can only be used for bootloader builds." + exit 9 +fi + # if building a simulator for an hosted port, APPLICATION # define clashes with SIMULATOR define -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs