Makefile 734 B

12345678910111213141516171819202122232425
  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/gdb/Makefile.inc
  5. PKG_DESCR:= GNU debugger (small server)
  6. PKG_SECTION:= comp
  7. PKG_DEPENDS:= libthread-db
  8. include ${TOPDIR}/mk/package.mk
  9. WRKSRC= ${WRKDIST}/gdb/gdbserver
  10. $(eval $(call PKG_template,GDBSERVER,gdbserver,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  11. CONFIGURE_STYLE:= gnu
  12. BUILD_STYLE:= auto
  13. INSTALL_STYLE:= auto
  14. post-install:
  15. ${INSTALL_DIR} ${IDIR_GDBSERVER}/usr/bin
  16. ${INSTALL_BIN} ${WRKINST}/usr/bin/gdbserver ${IDIR_GDBSERVER}/usr/bin/
  17. include ${TOPDIR}/mk/pkg-bottom.mk