gdb: add metafile support, cleanups

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-13 13:43:06 +01:00
parent ee44a66b6f
commit 42bf6689e4
5 changed files with 15 additions and 11 deletions

View File

@ -2,19 +2,13 @@
. config/options $1
$SCRIPTS/build toolchain
$SCRIPTS/build ncurses
$SCRIPTS/build expat
export bash_cv_have_mbstate_t=set
export CC_FOR_BUILD="$HOST_CC"
export CFLAGS_FOR_BUILD="$HOST_CFLAGS"
cd $PKG_BUILD
mkdir -p objdir
cd objdir
mkdir -p objdir && cd objdir
../configure --host=$TARGET_NAME \
--build=$HOST_NAME \

View File

@ -2,9 +2,6 @@
. config/options $1
$SCRIPTS/install ncurses
$SCRIPTS/install expat
mkdir -p $INSTALL/usr/bin
cp $PKG_BUILD/objdir/$1/$1 $INSTALL/usr/bin
cp $PKG_BUILD/objdir/$1/gdbserver/gdbserver $INSTALL/usr/bin

14
packages/debug/gdb/meta Normal file
View File

@ -0,0 +1,14 @@
PKG_NAME="gdb"
PKG_VERSION="7.2"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/gdb/"
PKG_URL="http://ftp.gnu.org/gnu/gdb/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="ncurses expat"
PKG_BUILD_DEPENDS="toolchain ncurses expat"
PKG_PRIORITY="optional"
PKG_SECTION="debug"
PKG_SHORTDESC="gdb: The GNU Debugger"
PKG_LONGDESC="The purpose of a debugger such as GDB is to allow you to see what is going on ``inside'' another program while it executes--or what another program was doing at the moment it crashed."
PKG_IS_ADDON="no"

View File

@ -1 +0,0 @@
http://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2