diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-21 08:54:14 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-21 17:22:45 +0000 |
commit | a5df94beb5cd7fd87828b9532b4a1a4da13ef774 (patch) | |
tree | 6b36c2e23f576ee104331d2de3b58ad39a77ba40 /tools/configure | |
parent | 688c89cfe13658dc0c36c67235ed968e286d78bf (diff) | |
download | rockbox-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-x | tools/configure | 4 |
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 | ||
4670 | echo "Using source code root directory: $rootdir" | 4670 | echo "Using source code root directory: $rootdir" |
4671 | 4671 | ||
4672 | # this was once possible to change at build-time, but no more: | ||
4673 | language="english" | ||
4674 | |||
4675 | uname=`uname` | 4672 | uname=`uname` |
4676 | 4673 | ||
4677 | if [ "yes" = "$simulator" ]; then | 4674 | if [ "yes" = "$simulator" ]; then |
@@ -5039,7 +5036,6 @@ export MANUFACTURER=${t_manufacturer} | |||
5039 | export OBJDIR=${pwd} | 5036 | export OBJDIR=${pwd} |
5040 | export BUILDDIR=${pwd} | 5037 | export BUILDDIR=${pwd} |
5041 | export RBCODEC_BLD=${pwd}/lib/rbcodec | 5038 | export RBCODEC_BLD=${pwd}/lib/rbcodec |
5042 | export LANGUAGE=${language} | ||
5043 | export VOICELANGUAGE=${voicelanguage} | 5039 | export VOICELANGUAGE=${voicelanguage} |
5044 | export MEMORYSIZE=${memory} | 5040 | export MEMORYSIZE=${memory} |
5045 | export BUILDDATE:=\$(shell date -u +'-DYEAR=%Y -DMONTH=%m -DDAY=%d') | 5041 | export BUILDDATE:=\$(shell date -u +'-DYEAR=%Y -DMONTH=%m -DDAY=%d') |