summaryrefslogtreecommitdiff
path: root/package/eglibc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/eglibc/Makefile')
-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 \