Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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.4
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 394c119363dd8b469fb898442a6764b8
  8. PKG_DESCR:= standard c++ library for embedded systems
  9. PKG_SECTION:= libs/misc
  10. PKG_URL:= http://cxx.uclibc.org/
  11. PKG_SITES:= http://cxx.uclibc.org/src/
  12. PKG_NOPARALLEL:= 1
  13. PKG_LIBNAME:= uclibc++
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. PKG_LIBC_DEPENDS:= uclibc
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,UCLIBCXX,uclibc++,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CONFIG_STYLE:= manual
  20. INSTALL_STYLE:= manual
  21. MAKE_FLAGS+= TOPDIR="${WRKBUILD}/" \
  22. ${TARGET_CONFIGURE_OPTS} \
  23. ARCH_CFLAGS="${TARGET_CFLAGS}" \
  24. CROSS="${TARGET_CROSS}"
  25. TARGET_CONFIGURE_OPTS=
  26. do-configure:
  27. ${CP} ./files/config ${WRKBUILD}/.config
  28. do-install:
  29. ${INSTALL_DIR} ${IDIR_UCLIBCXX}/usr/lib
  30. ${CP} ${WRKBUILD}/src/libuClibc++*.so* ${IDIR_UCLIBCXX}/usr/lib/
  31. ${INSTALL_DIR} ${WRKINST}/usr/include
  32. ${CP} ${WRKBUILD}/include ${WRKINST}/usr/include/uClibc++
  33. include ${TOPDIR}/mk/pkg-bottom.mk