summaryrefslogtreecommitdiff
path: root/package
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
parentc2fc0a3b9adbf657f7afce0f3f653c48dee84add (diff)
add basic locale support to OpenADK
Diffstat (limited to 'package')
-rw-r--r--package/eglibc/Makefile4
-rw-r--r--package/libX11/Makefile3
2 files changed, 7 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 \
diff --git a/package/libX11/Makefile b/package/libX11/Makefile
index b6849296e..71baaff3a 100644
--- a/package/libX11/Makefile
+++ b/package/libX11/Makefile
@@ -37,6 +37,9 @@ libx11-install:
${CP} ${WRKINST}/usr/lib/libX11.so* ${IDIR_LIBX11}/usr/lib/
${CP} ${WRKINST}/usr/lib/libX11-xcb* ${IDIR_LIBX11}/usr/lib/
${CP} ${WRKINST}/usr/share/X11/XErrorDB ${IDIR_LIBX11}/usr/share/X11
+ifeq ($(ADK_LOCALES),y)
+ ${CP} ${WRKINST}/usr/share/X11/locale ${IDIR_LIBX11}/usr/share/X11
+endif
libx11-dev-install:
${INSTALL_DIR} ${IDIR_LIBX11_DEV}/usr/include/X11