[Buildroot] [PATCH] uclibc: deprecate locale support
Waldemar Brodkorb
wbx at openadk.org
Sun Jun 28 07:14:17 UTC 2015
The quality of the locale implementation in uClibc seems
to be bad. Recently a discussion on the uClibc mailinglist
showed that the uClibc maintainer has no time to fix
remaining issues in the locale implementation.
http://lists.uclibc.org/pipermail/uclibc/2015-June/049000.html
Because of the bad state of the code I would like to deprecate
it. I never used it myself and see no good reason why I would
need it for an embedded system.
I believe not many people are using it. For good working
locale support there is still GNU libc and musl.
Signed-off-by: Waldemar Brodkorb <wbx at openadk.org>
---
Config.in.legacy | 6 ++++++
package/uclibc/Config.in | 8 --------
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/Config.in.legacy b/Config.in.legacy
index d86d585..1814acb 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -107,6 +107,12 @@ endif
###############################################################################
comment "Legacy options removed in 2015.08"
+config BR2_TOOLCHAIN_BUILDROOT_LOCALE
+ bool "Toolchain locale/i18n setting removed"
+ select BR2_LEGACY
+ help
+ uClibc locale support have been removed.
+
config BR2_TARGET_UBOOT_NETWORK
bool "U-Boot custom network settings removed"
select BR2_LEGACY
diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
index 15a590f..03d7171 100644
--- a/package/uclibc/Config.in
+++ b/package/uclibc/Config.in
@@ -100,14 +100,6 @@ config BR2_TOOLCHAIN_BUILDROOT_WCHAR
wide characters (i.e characters longer than 8 bits, needed
for locale support).
-config BR2_TOOLCHAIN_BUILDROOT_LOCALE
- bool "Enable toolchain locale/i18n support"
- select BR2_TOOLCHAIN_BUILDROOT_WCHAR
- select BR2_ENABLE_LOCALE
- help
- Enable this option if you want your toolchain to support
- localization and internationalization.
-
choice
prompt "Thread library implementation"
default BR2_PTHREADS_NATIVE if BR2_UCLIBC_VERSION_SUPPORTS_NPTL
--
1.7.10.4
More information about the buildroot
mailing list