Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.0.1
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 3dbd5f93e36ba2815ad0efab030dcd0c7b211d7b353a40a53f4c02d7d56295e3
  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 !m68k !avr32 !nios2 !microblaze !or1k
  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. # --enable-static is required to build libbfd.a
  18. CONFIGURE_ARGS+= --enable-static \
  19. --without-uiout \
  20. --disable-tui \
  21. --disable-gdbtk \
  22. --disable-gdbserver \
  23. --without-x \
  24. --disable-sim \
  25. --disable-plugins \
  26. --disable-werror \
  27. --without-python \
  28. --without-included-gettext \
  29. --without-auto-load-safe-path \
  30. --disable-install-libiberty \
  31. --disable-install-libbfd \
  32. --with-system-zlib \
  33. --with-curses \
  34. --enable-gdbmi
  35. gdb-install:
  36. ${INSTALL_DIR} ${IDIR_GDB}/usr/bin
  37. ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb \
  38. ${IDIR_GDB}/usr/bin/
  39. include ${ADK_TOPDIR}/mk/pkg-bottom.mk