Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= uClibc++
  5. PKG_VERSION:= 0.2.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 1ceef3209cca88be8f1bd9de99735954
  8. PKG_DESCR:= A standard c++ library for embedded systems
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://cxx.uclibc.org/
  11. PKG_SITES:= http://cxx.uclibc.org/src/
  12. PKG_NEED_CXX:= 1
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. PKG_CFLINE_UCLIBCXX:= depends on ADK_TARGET_LIB_UCLIBC
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,UCLIBCXX,uclibc++,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. INSTALL_STYLE:= manual
  19. MAKE_FLAGS+= TOPDIR="${WRKBUILD}/" \
  20. ${TARGET_CONFIGURE_OPTS} \
  21. ARCH_CFLAGS="${TARGET_CFLAGS}" \
  22. CROSS="${TARGET_CROSS}"
  23. TARGET_CONFIGURE_OPTS=
  24. do-configure:
  25. ${CP} ./files/config ${WRKBUILD}/.config
  26. do-install:
  27. ${INSTALL_DIR} ${IDIR_UCLIBCXX}/usr/lib
  28. ${CP} ${WRKBUILD}/src/libuClibc++*.so* ${IDIR_UCLIBCXX}/usr/lib/
  29. ${INSTALL_DIR} ${WRKINST}/usr/include
  30. ${CP} ${WRKBUILD}/include ${WRKINST}/usr/include/uClibc++
  31. include ${TOPDIR}/mk/pkg-bottom.mk