summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBenoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>2011-07-29 13:30:53 (GMT)
committerBenoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>2011-07-29 13:30:53 (GMT)
commit568251c2815ac5f41642c33d6cd7f22905add8b0 (patch)
tree2b387c1226a6433a20ab4134aee544057c0be34d /config
parenta88d3d7e7c5417b99fc6521f563f83172b7326be (diff)
libc/glibc: add partial support for locales
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" <benoit.thebaudeau@advansee.com>
Diffstat (limited to 'config')
-rw-r--r--config/libc/glibc-eglibc.in-common9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/libc/glibc-eglibc.in-common b/config/libc/glibc-eglibc.in-common
index 32cf357..0c88596 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