Makefile 810 B

1234567891011121314151617181920212223242526272829
  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. include ${TOPDIR}/toolchain/uClibc/Makefile.inc
  8. endif
  9. PKG_NAME:= libthread-db
  10. PKG_DESCR:= POSIX threads library for gdb/gdbserver
  11. PKG_SECTION:= libs
  12. NO_DISTFILES:= 1
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBTHREAD_DB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. BUILD_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_LIBTHREAD_DB}/lib
  20. ${CP} ${STAGING_DIR}/lib/libthread_db*.so* ${IDIR_LIBTHREAD_DB}/lib
  21. include ${TOPDIR}/mk/pkg-bottom.mk