1
0

Makefile 700 B

123456789101112131415161718192021222324
  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. include ${TOPDIR}/toolchain/glibc/Makefile.inc
  5. PKG_NAME:= libstdcxx
  6. PKG_DESCR:= C++ support library
  7. PKG_SECTION:= libs
  8. NO_DISTFILES:= 1
  9. include ${TOPDIR}/mk/package.mk
  10. $(eval $(call PKG_template,LIBSTDCXX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  11. do-install:
  12. ${INSTALL_DIR} ${IDIR_LIBSTDCXX}/lib
  13. ifeq ($(ADK_NATIVE),y)
  14. $(CP) /usr/lib/libstdc++.so.* ${IDIR_LIBSTDCXX}/lib
  15. else
  16. $(CP) ${STAGING_DIR}/lib/libstdc++.so.* ${IDIR_LIBSTDCXX}/lib
  17. endif
  18. include ${TOPDIR}/mk/pkg-bottom.mk