summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-24 20:55:24 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-24 20:55:24 +0200
commitc7cec1a2afff5c16a19d5972fcc9792888bc2da4 (patch)
tree668322a2c2b535de8159791f2a58461bb9205031 /target/config
parent9e43c6b3aff1ee36d331c03f8b9b214f341ae4c2 (diff)
locale: rework locale support (not fully ready)
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.runtime14
-rw-r--r--target/config/Config.in.toolchain7
2 files changed, 14 insertions, 7 deletions
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index 901718de7..455e05c1b 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -138,6 +138,20 @@ config ADK_RUNTIME_TIMEZONE
help
Predefine the timezone for the embedded system.
+config ADK_RUNTIME_ENABLE_LOCALE
+ bool "enable locale (i18n) support"
+ select ADK_TARGET_LIBC_ICONV if ADK_TARGET_LIB_UCLIBC_NG
+ select BUSYBOX_LOCALE_SUPPORT
+ help
+ Enable locale support for the target.
+
+config ADK_RUNTIME_DEFAULT_LOCALE
+ string "default locale"
+ depends on ADK_RUNTIME_ENABLE_LOCALE
+ default "de_DE"
+ help
+ Set locale to be set in the target system as default.
+
choice
prompt "bootup messages from kernel"
diff --git a/target/config/Config.in.toolchain b/target/config/Config.in.toolchain
index eabac8f4b..03c51bc8c 100644
--- a/target/config/Config.in.toolchain
+++ b/target/config/Config.in.toolchain
@@ -1,13 +1,6 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-config ADK_TARGET_WITH_LOCALE
- bool "Enable Locale (i18n) support"
- depends on ADK_TARGET_LIB_UCLIBC_NG
- select ADK_TARGET_LIBC_ICONV
- select BUSYBOX_LOCALE_SUPPORT
- select BUSYBOX_UNICODE_USING_LOCALE
-
choice
depends on ADK_TARGET_OS_LINUX
prompt "Iconv implementation"