diff -r 424fa2092ace -r 45ef0b0660a5 scripts/build/libc/glibc-eglibc.sh-common --- a/scripts/build/libc/glibc-eglibc.sh-common Thu Jul 28 22:09:31 2011 +0200 +++ b/scripts/build/libc/glibc-eglibc.sh-common Fri Jul 29 13:25:57 2011 +0200 @@ -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() { + : +}