mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
gdb: add metafile support, cleanups
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
ee44a66b6f
commit
42bf6689e4
@ -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 \
|
||||
|
@ -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
14
packages/debug/gdb/meta
Normal 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"
|
@ -1 +0,0 @@
|
||||
http://ftp.gnu.org/gnu/gdb/gdb-7.2.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user