This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
# HG changeset patch # User "BenoÃt THÃBAUDEAU" <benoit.thebaudeau@advansee.com> # Date 1311938757 -7200 # Node ID 712091002f632e58829dfbb6781938025dba7211 # Parent 6e1412ba8da9b9b8c100482fce442bf83d520f63 libc: create an infrastructure to build and install the libc locales This patch adds a common glibc/eglibc infrastructure to build and install the libc locales. Signed-off-by: "BenoÃt THÃBAUDEAU" <benoit.thebaudeau@advansee.com> diff --git a/config/libc/glibc-eglibc.in-common b/config/libc/glibc-eglibc.in-common --- a/config/libc/glibc-eglibc.in-common +++ b/config/libc/glibc-eglibc.in-common @@ -144,6 +144,13 @@ comment "| or try again later... :-( " endif +config LIBC_LOCALES + bool + prompt "Build and install locales" + help + Whether to build and install the libc locale files for the target, + which is required in order to support internationalization. + if KERNEL_linux choice LIBC_GLIBC_SUPPORTED_KERNEL diff --git a/scripts/build/libc/glibc-eglibc.sh-common b/scripts/build/libc/glibc-eglibc.sh-common --- a/scripts/build/libc/glibc-eglibc.sh-common +++ b/scripts/build/libc/glibc-eglibc.sh-common @@ -47,6 +47,10 @@ find . -type f -name configure -exec touch {} \; 2>&1 |CT_DoLog ALL CT_Popd + + if [ "${CT_LIBC_LOCALES}" = "y" ]; then + do_libc_locales_extract + fi } # Build and install headers and start files @@ -294,6 +298,10 @@ "${extra_make_args[@]}" \ install_root="${CT_SYSROOT_DIR}" \ install + + if [ "${CT_LIBC_LOCALES}" = "y" ]; then + do_libc_locales + fi fi CT_EndStep @@ -353,3 +361,15 @@ ;; esac } + +# Extract the files required for the libc locales +# Nothing to do by default +do_libc_locales_extract() { + : +} + +# Build and install the libc locales +# Nothing to do by default +do_libc_locales() { + : +}
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |