# $FreeWRT$ #- # This file is part of the FreeWRT project. FreeWRT is copyrighted # material, please see the LICENCE file in the top-level directory # or at http://www.freewrt.org/licence for details. include ${TOPDIR}/rules.mk PKG_NAME:= gdb PKG_VERSION:= 6.6 PKG_RELEASE:= 2 PKG_MD5SUM:= 18be4e7a1ac713bda93d00fee20bbef8 MASTER_SITES:= http://ftp.gnu.org/gnu/gdb/ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) $(eval $(call PKG_template,GDBSERVER,gdbserver,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) TCPPFLAGS+= -L${STAGING_DIR}/usr/lib -L${STAGING_DIR}/lib TLDFLAGS+= -L${STAGING_DIR}/usr/lib -L${STAGING_DIR}/lib CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= --without-uiout \ --disable-tui --disable-gdbtk --without-x \ --without-included-gettext --disable-sim \ --enable-threads --with-curses \ --enable-static BUILD_STYLE= auto INSTALL_STYLE= auto XAKE_FLAGS+= LDFLAGS='${TLDFLAGS}' post-install: ${INSTALL_DIR} ${IDIR_GDB}/usr/bin ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb ${IDIR_GDB}/usr/bin/ ${INSTALL_DIR} ${IDIR_GDBSERVER}/usr/bin ${INSTALL_BIN} ${WRKINST}/usr/bin/gdbserver ${IDIR_GDBSERVER}/usr/bin/ include ${TOPDIR}/mk/pkg-bottom.mk