Makefile 1.2 KB

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