Makefile 972 B

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. ifeq ($(ADK_TARGET_LIB_GLIBC),y)
  5. include ${TOPDIR}/toolchain/glibc/Makefile.inc
  6. else
  7. ifeq ($(ADK_TARGET_LIB_EGLIBC),y)
  8. include ${TOPDIR}/toolchain/eglibc/Makefile.inc
  9. else
  10. include ${TOPDIR}/toolchain/uClibc/Makefile.inc
  11. endif
  12. endif
  13. PKG_NAME:= libstdcxx
  14. PKG_DESCR:= C++ support library
  15. PKG_SECTION:= libs
  16. NO_DISTFILES:= 1
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,LIBSTDCXX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIG_STYLE:= manual
  20. BUILD_STYLE:= manual
  21. INSTALL_STYLE:= manual
  22. do-install:
  23. ${INSTALL_DIR} ${IDIR_LIBSTDCXX}/usr/lib
  24. ifeq ($(ADK_NATIVE),y)
  25. $(CP) /usr/lib/libstdc++.so* ${IDIR_LIBSTDCXX}/usr/lib
  26. else
  27. $(CP) ${STAGING_TARGET_DIR}/lib/libstdc++.so* ${IDIR_LIBSTDCXX}/usr/lib
  28. endif
  29. include ${TOPDIR}/mk/pkg-bottom.mk