summaryrefslogtreecommitdiff
path: root/package/eglibc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-17 05:31:54 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-17 05:31:54 +0200
commit66a6c153d5db95eb0f35861269a7f5459f387e55 (patch)
treeb525180b82d1edd3ff72a84f4e9c70498115e1d9 /package/eglibc
parentc2fc0a3b9adbf657f7afce0f3f653c48dee84add (diff)
add basic locale support to OpenADK
Diffstat (limited to 'package/eglibc')
-rw-r--r--package/eglibc/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile
index 2c12a505b..0b5956431 100644
--- a/package/eglibc/Makefile
+++ b/package/eglibc/Makefile
@@ -48,6 +48,10 @@ EGLIBC_ENV:= PATH='${TARGET_PATH}' \
# compile nothing, eglibc is already build in toolchain directory
do-install:
+ifeq ($(ADK_LOCALES),y)
+ ${INSTALL_DIR} $(IDIR_EGLIBC)/usr/bin
+ $(CP) $(STAGING_TARGET_DIR)/usr/bin/locale $(IDIR_EGLIBC)/usr/bin
+endif
${INSTALL_DIR} $(IDIR_EGLIBC)/lib $(IDIR_EGLIBC)/etc \
$(IDIR_EGLIBC)/usr/lib
cd ${STAGING_TARGET_DIR} && for f in UTC ${ADK_RUNTIME_TIMEZONE}; do \