summaryrefslogtreecommitdiffstats
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.tar.bz2
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
echo "Using source code root directory: $rootdir"
-# this was once possible to change at build-time, but no more:
-language="english"
-
uname=`uname`
if [ "yes" = "$simulator" ]; then
@@ -5039,7 +5036,6 @@ export MANUFACTURER=${t_manufacturer}
export OBJDIR=${pwd}
export BUILDDIR=${pwd}
export RBCODEC_BLD=${pwd}/lib/rbcodec
-export LANGUAGE=${language}
export VOICELANGUAGE=${voicelanguage}
export MEMORYSIZE=${memory}
export BUILDDATE:=\$(shell date -u +'-DYEAR=%Y -DMONTH=%m -DDAY=%d')