A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

configure: Allow bootloader to be specified under advanced options

This required renaming the LTO build option.

Change-Id: Ibd93e55d37b5226e7b3270d56cf07bf96a780f28

+32 -23
+32 -23
tools/configure
··· 942 942 prefixtools "mipsel-rockbox-linux-gnu-" 943 943 } 944 944 945 + do_bootloader() { 946 + appsdir='$(ROOTDIR)/bootloader' 947 + apps="bootloader" 948 + flash="" 949 + if test -n "$boottool"; then 950 + tool="$boottool" 951 + fi 952 + if test -n "$bootoutput"; then 953 + output=$bootoutput 954 + fi 955 + if test -n "$arm_thumb_boot" && test -z "$ARG_ARM_THUMB"; then 956 + ARG_ARM_THUMB=1 957 + fi 958 + extradefines="$extradefines -DBOOTLOADER -ffunction-sections -fdata-sections" 959 + bootloader="1" 960 + if [ -n "${sysfontbl}" ] ; then sysfont=$sysfontbl ; fi 961 + } 962 + 945 963 whichadvanced () { 946 964 atype=`echo "$1" | cut -c 2-` 947 965 ################################################################## ··· 953 971 interact=1 954 972 echo "" 955 973 printf "Enter your developer options (press only enter when done)\n\ 956 - (D)EBUG, (L)ogf, Boot(c)hart, (S)imulator, (P)rofiling, (V)oice, (U)SB Serial,\n\ 974 + (D)EBUG, (L)ogf, Boot(c)hart, (S)imulator, (B)ootloader, (P)rofiling, (V)oice, (U)SB Serial,\n\ 957 975 (W)in32 crosscompile, Win(6)4 crosscompile, (T)est plugins, (O)mit plugins, \n\ 958 - S(m)all C lib, Logf to Ser(i)al port, LTO (B)uild, (E)rror on warnings" 976 + S(m)all C lib, Logf to Ser(i)al port, LTO Build(X), (E)rror on warnings" 959 977 if [ "$modelname" = "iaudiom5" ]; then 960 978 printf ", (F)M radio MOD" 961 979 fi ··· 1014 1032 echo "Simulator build enabled" 1015 1033 simulator="yes" 1016 1034 ;; 1035 + [Bb]) 1036 + echo "Bootloader build selected" 1037 + do_bootloader 1038 + ;; 1017 1039 [Pp]) 1018 1040 if [ "yes" = "$use_debug" ]; then 1019 1041 echo "Profiling is incompatible with debug" ··· 1054 1076 win32crosscompile="yes" 1055 1077 win64="yes" 1056 1078 ;; 1057 - [Bb]) 1079 + [Xx]) 1058 1080 echo "LTO build enabled" 1059 1081 LTO_ARG="export USE_LTO=y" 1082 + # GCCOPTS="$GCCOPTS -flto" 1060 1083 ;; 1061 - [Ee]) 1084 + [Ee]) 1062 1085 echo "Treating all warnings as errors" 1063 1086 GCCOPTS="$GCCOPTS -Werror" 1064 1087 ;; ··· 1658 1681 142) YH-925 1659 1682 143) YP-S3 ==MPIO== ==ROCKCHIP== 1660 1683 170) HD200 180) rk27xx generic 1661 - ==HiFiMAN== 171) HD300 1684 + ==HiFiMAN== 171) HD300 1662 1685 190) HM-60x ==HiFi E.T.== 1663 1686 191) HM-801 ==Application== 210) MA9 1664 1687 200) SDL 211) MA9C 1665 1688 ==Sony== 201) Android 212) MA8 1666 1689 219) NWZ-E350 series 202) Nokia N8xx 213) MA8C 1667 - 220) NWZ-E370/E380 series 203) Nokia N900 1690 + 220) NWZ-E370/E380 series 203) Nokia N900 1668 1691 221) NWZ-E360 series 204) Pandora ==IHIFI== 1669 1692 222) NWZ-E450 series 205) Samsung YP-R0 230) 760 1670 1693 223) NWZ-E460 series 206) Android MIPS 231) 960 1671 1694 224) NWZ-E470 series 207) Android x86 250) 770C 1672 1695 225) NWZ-E580 series 208) Samsung YP-R1 251) 770 1673 1696 226) NWZ-A10 series 252) 800 1674 - 227) NW-A20 series ==iBasso== 1697 + 227) NW-A20 series ==iBasso== 1675 1698 228) NWZ-A860 series 232) DX50 ==AgpTek== 1676 1699 229) NWZ-S750 series 233) DX90 240) Rocker 1677 - 1700 + 1678 1701 ==FiiO== ==xDuoo== ==AIGO== 1679 1702 244) M3K Linux 241) X3 245) Eros Q / K 1680 1703 246) M3K baremetal 242) X3II 247) Eros Q / K native ··· 4351 4374 echo "sansa eraser build selected" 4352 4375 ;; 4353 4376 [Bb]) 4354 - appsdir='$(ROOTDIR)/bootloader' 4355 - apps="bootloader" 4356 - flash="" 4357 - if test -n "$boottool"; then 4358 - tool="$boottool" 4359 - fi 4360 - if test -n "$bootoutput"; then 4361 - output=$bootoutput 4362 - fi 4363 - if test -n "$arm_thumb_boot" && test -z "$ARG_ARM_THUMB"; then 4364 - ARG_ARM_THUMB=1 4365 - fi 4366 - extradefines="$extradefines -DBOOTLOADER -ffunction-sections -fdata-sections" 4367 - bootloader="1" 4368 - if [ -n "${sysfontbl}" ] ; then sysfont=$sysfontbl ; fi 4377 + do_bootloader 4369 4378 echo "Bootloader build selected" 4370 4379 ;; 4371 4380 [Ss])