scripts/build/libc/glibc-eglibc.sh-common
changeset 2585 45ef0b0660a5
parent 2573 424fa2092ace
child 2588 99532252143d
     1.1 --- a/scripts/build/libc/glibc-eglibc.sh-common	Thu Jul 28 22:09:31 2011 +0200
     1.2 +++ b/scripts/build/libc/glibc-eglibc.sh-common	Fri Jul 29 13:25:57 2011 +0200
     1.3 @@ -47,6 +47,10 @@
     1.4      find . -type f -name configure -exec touch {} \; 2>&1 |CT_DoLog ALL
     1.5  
     1.6      CT_Popd
     1.7 +
     1.8 +    if [ "${CT_LIBC_LOCALES}" = "y" ]; then
     1.9 +        do_libc_locales_extract
    1.10 +    fi
    1.11  }
    1.12  
    1.13  # Build and install headers and start files
    1.14 @@ -294,6 +298,10 @@
    1.15                                "${extra_make_args[@]}"           \
    1.16                                install_root="${CT_SYSROOT_DIR}"  \
    1.17                                install
    1.18 +
    1.19 +        if [ "${CT_LIBC_LOCALES}" = "y" ]; then
    1.20 +            do_libc_locales
    1.21 +        fi
    1.22      fi
    1.23  
    1.24      CT_EndStep
    1.25 @@ -353,3 +361,15 @@
    1.26              ;;
    1.27      esac
    1.28  }
    1.29 +
    1.30 +# Extract the files required for the libc locales
    1.31 +# Nothing to do by default
    1.32 +do_libc_locales_extract() {
    1.33 +    :
    1.34 +}
    1.35 +
    1.36 +# Build and install the libc locales
    1.37 +# Nothing to do by default
    1.38 +do_libc_locales() {
    1.39 +    :
    1.40 +}