Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 6e6032c49916b199ffe6a585552fd46b
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,UCLIBCXX,uclibc++,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. BUILD_STYLE:= auto
  16. MAKE_FLAGS+= TOPDIR="${WRKBUILD}/" \
  17. ${TARGET_CONFIGURE_OPTS} \
  18. ARCH_CFLAGS="${TARGET_CFLAGS}" \
  19. CROSS="${TARGET_CROSS}"
  20. TARGET_CONFIGURE_OPTS=
  21. do-configure:
  22. ${CP} ./files/config ${WRKBUILD}/.config
  23. do-install:
  24. ${INSTALL_DIR} ${IDIR_UCLIBCXX}/usr/lib
  25. ${CP} ${WRKBUILD}/src/libuClibc++*.so* ${IDIR_UCLIBCXX}/usr/lib/
  26. ${INSTALL_DIR} ${WRKINST}/usr/include
  27. ${CP} ${WRKBUILD}/include ${WRKINST}/usr/include/uClibc++
  28. include ${TOPDIR}/mk/pkg-bottom.mk