Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. PKG_NAME:= gdb
  5. PKG_VERSION:= riscv-gdb-8.1
  6. PKG_GIT:= branch
  7. PKG_RELEASE:= 1
  8. PKG_DESCR:= programm debugger
  9. PKG_SECTION:= app/debug
  10. PKG_HASH:= 605954d5747d5f08ea4b7f48e958d1ebbf39265e18f7f36738deeabb83744485
  11. PKG_DEPENDS:= libncurses zlib libexpat libthread-db
  12. PKG_BUILDDEP:= ncurses readline expat zlib
  13. PKG_SITES:= https://github.com/riscv/riscv-binutils-gdb.git
  14. PKG_ARCH_DEPENDS:= riscv32 riscv64
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ARGS+= --enable-static \
  18. --without-uiout \
  19. --disable-tui \
  20. --disable-gdbtk \
  21. --disable-gdbserver \
  22. --without-x \
  23. --disable-sim \
  24. --disable-werror \
  25. --without-python \
  26. --without-included-gettext \
  27. --without-auto-load-safe-path \
  28. --disable-install-libiberty \
  29. --disable-install-libbfd \
  30. --with-curses \
  31. --enable-gdbmi
  32. gdb-install:
  33. ${INSTALL_DIR} ${IDIR_GDB}/usr/bin
  34. ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb \
  35. ${IDIR_GDB}/usr/bin/
  36. include ${ADK_TOPDIR}/mk/pkg-bottom.mk