Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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:= !arc !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. --with-expat \
  26. --disable-sim \
  27. --disable-plugins \
  28. --disable-werror \
  29. --without-python \
  30. --without-included-gettext \
  31. --without-auto-load-safe-path \
  32. --disable-install-libiberty \
  33. --disable-install-libbfd \
  34. --with-system-zlib \
  35. --with-curses \
  36. --enable-gdbmi
  37. gdb-install:
  38. ${INSTALL_DIR} ${IDIR_GDB}/usr/bin
  39. ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb \
  40. ${IDIR_GDB}/usr/bin/
  41. include ${ADK_TOPDIR}/mk/pkg-bottom.mk