From c7cec1a2afff5c16a19d5972fcc9792888bc2da4 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 24 Sep 2016 20:55:24 +0200 Subject: locale: rework locale support (not fully ready) --- target/config/Config.in.runtime | 14 ++++++++++++++ target/config/Config.in.toolchain | 7 ------- 2 files changed, 14 insertions(+), 7 deletions(-) (limited to 'target') 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" -- cgit v1.2.3