Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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:= 11.1
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= cccfcc407b20d343fb320d4a9a2110776dd3165118ffd41f4b1b162340333f94
  8. PKG_DESCR:= program debugger
  9. PKG_SECTION:= app/debug
  10. PKG_SITES:= ${MASTER_SITE_GNU:=gdb/}
  11. PKG_DEPENDS:= libncurses libreadline zlib libexpat libthread-db libgmp
  12. PKG_BUILDDEP:= ncurses readline expat zlib gmp
  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-system-readline \
  37. --with-curses \
  38. --enable-gdbmi
  39. gdb-install:
  40. ${INSTALL_DIR} ${IDIR_GDB}/usr/bin
  41. ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb \
  42. ${IDIR_GDB}/usr/bin/
  43. include ${ADK_TOPDIR}/mk/pkg-bottom.mk