diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-02-26 23:39:17 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-02-26 23:39:17 +0100 |
commit | 26f7c999e7c586eeb0eabeaf34ebbc9b3c145d7c (patch) | |
tree | 22f152f92d6c1e9c325583f46278a385ffefd38b /package/cxxtools/Makefile | |
parent | 67cb0759e674470fa53fd3711d8460fd4a12c1a3 (diff) |
another round of native compile fixes
Diffstat (limited to 'package/cxxtools/Makefile')
-rw-r--r-- | package/cxxtools/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/package/cxxtools/Makefile b/package/cxxtools/Makefile index fb1c36bd1..7c02db6ec 100644 --- a/package/cxxtools/Makefile +++ b/package/cxxtools/Makefile @@ -14,9 +14,12 @@ PKG_BUILDDEP:= libiconv PKG_URL:= http://www.tntnet.org/ PKG_SITES:= http://www.tntnet.org/download/ +PKG_SUBPKGS:= CXXTOOLS CXXTOOLS_DEV + include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,CXXTOOLS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,CXXTOOLS_DEV,${PKG_NAME}-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) ifeq (${ADK_COMPILE_CXXTOOLS_WITH_UCLIBCXX},y) TARGET_CXXFLAGS+= -fno-builtin -nostdinc++ \ @@ -30,8 +33,15 @@ TARGET_CFLAGS+= -fPIC TARGET_CXXFLAGS+= -fPIC CONFIGURE_ARGS+= --with-libiconv-prefix='${STAGING_TARGET_DIR}/usr' -post-install: +cxxtools-install: ${INSTALL_DIR} ${IDIR_CXXTOOLS}/usr/lib - ${CP} ${WRKINST}/usr/lib/libcxxtools.so* ${IDIR_CXXTOOLS}/usr/lib/ + ${CP} ${WRKINST}/usr/lib/libcxxtools.so* ${IDIR_CXXTOOLS}/usr/lib + +cxxtools-dev-install: + ${INSTALL_DIR} ${IDIR_CXXTOOLS_DEV}/usr/include + ${CP} ${WRKINST}/usr/include/* \ + ${IDIR_CXXTOOLS_DEV}/usr/include + ${INSTALL_DIR} ${IDIR_CXXTOOLS_DEV}/usr/bin + ${CP} ${WRKINST}/usr/bin/cxxtools-config ${IDIR_CXXTOOLS_DEV}/usr/bin include ${TOPDIR}/mk/pkg-bottom.mk |