Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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:= 8.1
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34
  8. PKG_DESCR:= programm debugger
  9. PKG_SECTION:= app/debug
  10. PKG_SITES:= ${MASTER_SITE_GNU:=gdb/}
  11. PKG_DEPENDS:= libncurses zlib libexpat libthread-db
  12. PKG_BUILDDEP:= ncurses readline expat zlib
  13. PKG_NEEDS:= c++
  14. PKG_ARCH_DEPENDS:= !cris !avr32 !nios2 !microblaze !or1k !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. XAKE_FLAGS+= MAKEINFO=true
  18. # --enable-static is required to build libbfd.a
  19. CONFIGURE_ARGS+= --enable-static \
  20. --without-uiout \
  21. --disable-tui \
  22. --disable-gdbtk \
  23. --disable-gdbserver \
  24. --without-x \
  25. --disable-sim \
  26. --disable-plugins \
  27. --disable-werror \
  28. --without-python \
  29. --without-included-gettext \
  30. --without-auto-load-safe-path \
  31. --disable-install-libiberty \
  32. --disable-install-libbfd \
  33. --with-system-zlib \
  34. --with-curses \
  35. --enable-gdbmi
  36. gdb-install:
  37. ${INSTALL_DIR} ${IDIR_GDB}/usr/bin
  38. ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb \
  39. ${IDIR_GDB}/usr/bin/
  40. include ${ADK_TOPDIR}/mk/pkg-bottom.mk