diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-16 18:00:27 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-16 18:02:33 +0200 |
commit | 0f1ef5c7850016d526422ab3bb1368e5d30d0cbe (patch) | |
tree | af62926c396460c6791163c29624df88d7f9096a | |
parent | b690cd4daaab33dd093c0f4e2e6f314a305a89ec (diff) |
add gconv subpackage, useful for xbmc
-rw-r--r-- | package/glibc/Config.in.manual | 9 | ||||
-rw-r--r-- | package/glibc/Makefile | 11 |
2 files changed, 19 insertions, 1 deletions
diff --git a/package/glibc/Config.in.manual b/package/glibc/Config.in.manual index 5e5bd1dcc..e124f5bee 100644 --- a/package/glibc/Config.in.manual +++ b/package/glibc/Config.in.manual @@ -7,3 +7,12 @@ config ADK_PACKAGE_GLIBC select ADK_PACKAGE_TZDATA help GNU C library. + +config ADK_PACKAGE_GLIBC_GCONV + prompt "glibc-gconv.............. gconv libraries" + bool + default y if ADK_TARGET_LIB_GLIBC && !ADK_TOOLCHAIN_ONLY + default n + depends on ADK_TARGET_LIB_GLIBC + help + gconv libraries, required for iconv_open. diff --git a/package/glibc/Makefile b/package/glibc/Makefile index 3295fba54..22efe3e17 100644 --- a/package/glibc/Makefile +++ b/package/glibc/Makefile @@ -10,7 +10,10 @@ PKG_NAME:= glibc PKG_DESCR:= gnu c library PKG_SECTION:= base/libs PKG_OPTS:= noremove nostaging noscripts -PKG_SUBPKGS:= GLIBC GLIBC_DEV +PKG_SUBPKGS:= GLIBC GLIBC_DEV GLIBC_GCONV + +PKGSD_GLIBC_GCONV:= gconv libraries used at runtime +PKGSS_GLIBC_GCONV:= glibc NO_DISTFILES:= 1 @@ -18,6 +21,7 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,GLIBC,glibc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) $(eval $(call PKG_template,GLIBC_DEV,glibc-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +$(eval $(call PKG_template,GLIBC_GCONV,glibc-gconv,$(PKG_VERSION)-${PKG_RELEASE},${PKGSS_GLIBC_GCONV},${PKGSD_GLIBC_GCONV},${PKG_SECTION})) XAKE_FLAGS+= GCC_HONOUR_COPTS=s @@ -41,6 +45,11 @@ endif ${INSTALL_DATA} ${STAGING_TARGET_DIR}/etc/gai.conf ${IDIR_GLIBC}/etc ${INSTALL_DATA} ./files/nsswitch.conf ${IDIR_GLIBC}/etc +glibc-gconv-install: + ${INSTALL_DIR} $(IDIR_GLIBC_GCONV)/usr/lib/gconv + $(CP) ${STAGING_TARGET_DIR}/usr/lib/gconv/*.so \ + $(IDIR_GLIBC_GCONV)/usr/lib/gconv + glibc-dev-install: ${INSTALL_DIR} $(IDIR_GLIBC_DEV)/$(ADK_TARGET_LIBC_PATH) $(IDIR_GLIBC_DEV)/usr/lib # install linker script |