2011-01-09 18:37:41 +01:00
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
2016-01-02 17:29:56 +01:00
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
2011-01-09 18:37:41 +01:00
#
2013-12-21 21:51:48 +01:00
# OpenELEC is free software: you can redistribute it and/or modify
2011-01-09 18:37:41 +01:00
# it under the terms of the GNU General Public License as published by
2013-12-21 21:51:48 +01:00
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
2011-01-09 18:37:41 +01:00
#
2013-12-21 21:51:48 +01:00
# OpenELEC is distributed in the hope that it will be useful,
2011-01-09 18:37:41 +01:00
# but WITHOUT ANY WARRANTY; without even the implied warranty of
2013-12-21 21:51:48 +01:00
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2011-01-09 18:37:41 +01:00
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
2013-12-21 21:51:48 +01:00
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
2011-01-09 18:37:41 +01:00
################################################################################
2010-11-13 13:43:06 +01:00
PKG_NAME = "gdb"
2016-11-16 00:13:28 +00:00
PKG_VERSION = "7.11.1"
2016-01-28 00:54:36 +01:00
PKG_REV = "2"
2010-11-13 13:43:06 +01:00
PKG_ARCH = "any"
PKG_LICENSE = "GPL"
PKG_SITE = "http://www.gnu.org/software/gdb/"
2016-09-14 10:25:44 +02:00
PKG_URL = " http://ftpmirror.gnu.org/gdb/ $PKG_NAME - $PKG_VERSION .tar.xz "
2016-04-15 14:24:49 +03:00
PKG_DEPENDS_TARGET = "toolchain zlib netbsd-curses expat"
2010-11-13 13:43:06 +01:00
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."
2010-11-25 18:19:41 +01:00
2013-07-21 19:04:08 +02:00
PKG_IS_ADDON = "no"
2010-11-25 18:19:41 +01:00
PKG_AUTORECONF = "no"
2013-07-21 19:04:08 +02:00
CC_FOR_BUILD = " $HOST_CC "
CFLAGS_FOR_BUILD = " $HOST_CFLAGS "
2013-08-28 14:14:36 +02:00
p r e _ c o n f i g u r e _ t a r g e t ( ) {
2013-08-30 00:29:35 +02:00
# gdb could fail on runtime if build with LTO support
2013-08-28 14:14:36 +02:00
strip_lto
}
2013-07-21 19:04:08 +02:00
PKG_CONFIGURE_OPTS_TARGET = " bash_cv_have_mbstate_t=set \
--disable-shared \
--enable-static \
2016-01-28 00:54:36 +01:00
--with-auto-load-safe-path= / \
2013-07-21 19:04:08 +02:00
--disable-nls \
--disable-sim \
--without-x \
--disable-tui \
--disable-libada \
2014-01-25 00:59:23 +02:00
--without-lzma \
2014-02-06 23:52:41 +02:00
--disable-libquadmath \
--disable-libquadmath-support \
--enable-libada \
--enable-libssp \
2013-07-21 19:04:08 +02:00
--disable-werror"
p o s t _ m a k e i n s t a l l _ t a r g e t ( ) {
rm -rf $INSTALL /usr/share/gdb/python
}