1
0

Makefile 797 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 ${ADK_TOPDIR}/rules.mk
  4. include ${ADK_TOPDIR}/toolchain/gdb/Makefile.inc
  5. PKG_NAME:= gdbserver
  6. PKG_DESCR:= remote programm debugger utility
  7. PKG_SECTION:= app/debug
  8. PKG_LIBC_DEPENDS:= !musl
  9. DISTFILES:= gdb-${PKG_VERSION}.tar.xz
  10. WRKDIST= ${WRKDIR}/gdb-${PKG_VERSION}
  11. WRKSRC= ${WRKDIST}/gdb/gdbserver
  12. include ${ADK_TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,GDBSERVER,gdbserver,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. gdbserver-install:
  15. ${INSTALL_DIR} ${IDIR_GDBSERVER}/usr/bin
  16. ${INSTALL_BIN} ${WRKINST}/usr/bin/gdbserver ${IDIR_GDBSERVER}/usr/bin/
  17. include ${ADK_TOPDIR}/mk/pkg-bottom.mk