summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-21 08:54:14 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-21 17:22:45 +0000
commita5df94beb5cd7fd87828b9532b4a1a4da13ef774 (patch)
tree6b36c2e23f576ee104331d2de3b58ad39a77ba40 /tools/configure
parent688c89cfe13658dc0c36c67235ed968e286d78bf (diff)
downloadrockbox-a5df94beb5cd7fd87828b9532b4a1a4da13ef774.tar.gz
rockbox-a5df94beb5cd7fd87828b9532b4a1a4da13ef774.zip
build: Tweaks to better support non-English as primary language
* get rid of $(LANGUAGE) in top-level makefile (and configure script) * un-hardcode English-as-primary-language in a couple more places * allow DEFAULT_VOICE_LANG to be overriden To actually change the primary from English, one must change: * $english in voice.pl * hardcoded 'english' in rbutil * $ENGLISH in apps/lang/lang.make * DEFAULT_VOICE_LANG in apps/talk.c * configure script (default prompt) Of course, if one wants to change the default UI language, it's simpler to change the default language setting variable at compile time, or perhaps by adding a configuration file with the desired value into the .rockbox directory when the .zip is assembled. Change-Id: If5cf76019d416e838628a2eccd4ec7d6cbaeeb74
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/configure b/tools/configure
index 96d45a9173..501482ea0e 100755
--- a/tools/configure
+++ b/tools/configure
@@ -4669,9 +4669,6 @@ fi
4669 4669
4670echo "Using source code root directory: $rootdir" 4670echo "Using source code root directory: $rootdir"
4671 4671
4672# this was once possible to change at build-time, but no more:
4673language="english"
4674
4675uname=`uname` 4672uname=`uname`
4676 4673
4677if [ "yes" = "$simulator" ]; then 4674if [ "yes" = "$simulator" ]; then
@@ -5039,7 +5036,6 @@ export MANUFACTURER=${t_manufacturer}
5039export OBJDIR=${pwd} 5036export OBJDIR=${pwd}
5040export BUILDDIR=${pwd} 5037export BUILDDIR=${pwd}
5041export RBCODEC_BLD=${pwd}/lib/rbcodec 5038export RBCODEC_BLD=${pwd}/lib/rbcodec
5042export LANGUAGE=${language}
5043export VOICELANGUAGE=${voicelanguage} 5039export VOICELANGUAGE=${voicelanguage}
5044export MEMORYSIZE=${memory} 5040export MEMORYSIZE=${memory}
5045export BUILDDATE:=\$(shell date -u +'-DYEAR=%Y -DMONTH=%m -DDAY=%d') 5041export BUILDDATE:=\$(shell date -u +'-DYEAR=%Y -DMONTH=%m -DDAY=%d')