1
0

Makefile 928 B

123456789101112131415161718192021222324252627282930
  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. include ${TOPDIR}/mk/package.mk
  9. $(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  10. TCFLAGS+= ${TCPPFLAGS} -fPIC
  11. CONFIGURE_STYLE= gnu
  12. CONFIGURE_ARGS+= --without-uiout --enable-gdbmi \
  13. --disable-tui --disable-gdbtk --without-x \
  14. --without-included-gettext --disable-sim \
  15. --enable-threads --with-curses --disable-werror \
  16. --enable-static
  17. BUILD_STYLE= auto
  18. INSTALL_STYLE= auto
  19. XAKE_FLAGS+= LDFLAGS='${TLDFLAGS}'
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_GDB}/usr/bin
  22. ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb ${IDIR_GDB}/usr/bin/
  23. include ${TOPDIR}/mk/pkg-bottom.mk