Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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:= 10.1
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= f82f1eceeec14a3afa2de8d9b0d3c91d5a3820e23e0a01bbb70ef9f0276b62c0
  8. PKG_DESCR:= program 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 !microblaze
  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. WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
  19. # --enable-static is required to build libbfd.a
  20. CONFIGURE_ARGS+= --enable-static \
  21. --without-uiout \
  22. --disable-tui \
  23. --disable-gdbtk \
  24. --disable-gdbserver \
  25. --without-x \
  26. --with-expat \
  27. --disable-sim \
  28. --disable-plugins \
  29. --disable-werror \
  30. --without-python \
  31. --without-included-gettext \
  32. --without-auto-load-safe-path \
  33. --disable-install-libiberty \
  34. --disable-install-libbfd \
  35. --with-system-zlib \
  36. --with-curses \
  37. --enable-gdbmi
  38. gdb-install:
  39. ${INSTALL_DIR} ${IDIR_GDB}/usr/bin
  40. ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb \
  41. ${IDIR_GDB}/usr/bin/
  42. include ${ADK_TOPDIR}/mk/pkg-bottom.mk