Makefile 774 B

1234567891011121314151617181920212223242526
  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_NAME:= gdb
  6. PKG_DESCR:= GNU debugger (small server)
  7. PKG_SECTION:= debug
  8. PKG_DEPENDS:= libthread-db
  9. PKG_ARCH_DEPENDS:= !m68k
  10. PKG_LIBC_DEPENDS:= uclibc glibc
  11. PKG_SUBPKGS:= GDBSERVER
  12. WRKSRC= ${WRKDIST}/gdb/gdbserver
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,GDBSERVER,gdbserver,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. gdbserver-install:
  16. ${INSTALL_DIR} ${IDIR_GDBSERVER}/usr/bin
  17. ${INSTALL_BIN} ${WRKINST}/usr/bin/gdbserver ${IDIR_GDBSERVER}/usr/bin/
  18. include ${TOPDIR}/mk/pkg-bottom.mk