summaryrefslogtreecommitdiffstats
path: root/meta/packages/gdb/gdb.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gdb/gdb.inc')
-rw-r--r--meta/packages/gdb/gdb.inc28
1 files changed, 3 insertions, 25 deletions
diff --git a/meta/packages/gdb/gdb.inc b/meta/packages/gdb/gdb.inc
index 8c9bfa7267..e1acceb2f6 100644
--- a/meta/packages/gdb/gdb.inc
+++ b/meta/packages/gdb/gdb.inc
@@ -1,33 +1,11 @@
1require gdb-common.inc 1require gdb-common.inc
2 2
3DEPENDS = "ncurses readline"
4
5PACKAGES =+ "gdbserver"
6FILES_gdbserver = "${bindir}/gdbserver"
7
8RRECOMMENDS_gdb_append_linux = " glibc-thread-db "
9RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db "
10
11inherit gettext 3inherit gettext
12 4
13SRC_URI += "file://kill_arm_map_symbols.patch;patch=1 \ 5SRC_URI += "file://kill_arm_map_symbols.patch;patch=1 \
14 file://gdbserver-cflags-last.diff;patch=1;pnum=0 \ 6 file://gdbserver-cflags-last.diff;patch=1;pnum=0 \
15 file://ignore_whitespace_changes.patch;patch=1 " 7 file://ignore_whitespace_changes.patch;patch=1 "
16#FIXME file://uclibc.patch;patch=1 \
17
18EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
19
20EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
21 --with-curses --disable-multilib --with-readline --disable-sim \
22 --program-prefix=''"
23
24LDFLAGS_append = " -s"
25export CFLAGS_append=" -L${STAGING_LIBDIR}"
26 8
27do_configure () { 9#LDFLAGS_append = " -s"
28 # override this function to avoid the autoconf/automake/aclocal/autoheader 10#export CFLAGS_append=" -L${STAGING_LIBDIR}"
29 # calls for now
30 (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
31 CPPFLAGS="" oe_runconf
32}
33 11