Makefile 999 B

1234567891011121314151617181920212223242526272829303132
  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 ${TOPDIR}/rules.mk
  4. include ${TOPDIR}/toolchain/gdb/Makefile.inc
  5. PKG_DESCR:= GNU debugger
  6. PKG_SECTION:= comp
  7. PKG_DEPENDS:= libthread-db libncurses
  8. PKG_BUILDDEP+= ncurses readline
  9. PKG_TARGET_DEPENDS:= !foxboard !ag241
  10. include ${TOPDIR}/mk/package.mk
  11. $(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  12. TCFLAGS+= ${TCPPFLAGS} -fPIC
  13. CONFIGURE_STYLE= gnu
  14. CONFIGURE_ARGS+= --without-uiout --enable-gdbmi \
  15. --disable-tui --disable-gdbtk --without-x \
  16. --without-included-gettext --disable-sim \
  17. --enable-threads --with-curses --disable-werror \
  18. --enable-static
  19. BUILD_STYLE= auto
  20. INSTALL_STYLE= auto
  21. XAKE_FLAGS+= LDFLAGS='${TLDFLAGS}'
  22. post-install:
  23. ${INSTALL_DIR} ${IDIR_GDB}/usr/bin
  24. ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb ${IDIR_GDB}/usr/bin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk