summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBenoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>2011-07-29 11:25:57 (GMT)
committerBenoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>2011-07-29 11:25:57 (GMT)
commitd44205998b70aa9feef5f0ad43039d32c78d46dc (patch)
tree03331562f134b68ed8a7587012f0a69396343a4a /scripts
parent46de459e3380d44fd7121bc9eab204b1b0d52861 (diff)
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/libc/glibc-eglibc.sh-common20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/build/libc/glibc-eglibc.sh-common b/scripts/build/libc/glibc-eglibc.sh-common
index f57e9e9..bc7fd13 100644
--- a/scripts/build/libc/glibc-eglibc.sh-common
+++ b/scripts/build/libc/glibc-eglibc.sh-common
@@ -47,6 +47,10 @@ do_libc_extract() {
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 @@ do_libc_backend() {
"${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 @@ do_libc_min_kernel_config() {
;;
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() {
+ :
+}