From 568251c2815ac5f41642c33d6cd7f22905add8b0 Mon Sep 17 00:00:00 2001 From: "Benoît THÉBAUDEAU\"" Date: Fri, 29 Jul 2011 15:30:53 +0200 Subject: libc/glibc: add partial support for locales MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch adds partial support for glibc locales. For now, it only generates the appropriate locales when the host and the target have the same endianness and uint32_t alignment. Signed-off-by: "Benoît THÉBAUDEAU" --- config/libc/glibc-eglibc.in-common | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'config/libc') diff --git a/config/libc/glibc-eglibc.in-common b/config/libc/glibc-eglibc.in-common index 32cf357d..0c88596b 100644 --- a/config/libc/glibc-eglibc.in-common +++ b/config/libc/glibc-eglibc.in-common @@ -151,6 +151,15 @@ config LIBC_LOCALES Whether to build and install the libc locale files for the target, which is required in order to support internationalization. +if LIBC_glibc && LIBC_LOCALES +comment "WARNING! " +comment "| The built locales will be usable if and only if the build " +comment "| machine and the target: " +comment "| - have the same endianness, " +comment "| - and have the same alignment requirements for uint32_t. " +comment "| You will have to check by yourself (for now). " +endif # LIBC_glibc && LIBC_LOCALES + if KERNEL_linux choice LIBC_GLIBC_SUPPORTED_KERNEL -- cgit v1.2.3