summaryrefslogtreecommitdiffstats
path: root/meta/packages/gdb/gdb-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gdb/gdb-common.inc')
-rw-r--r--meta/packages/gdb/gdb-common.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/gdb/gdb-common.inc b/meta/packages/gdb/gdb-common.inc
index 266c8fe6b2..49231a525d 100644
--- a/meta/packages/gdb/gdb-common.inc
+++ b/meta/packages/gdb/gdb-common.inc
@@ -3,6 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/gdb/"
3LICENSE="GPLv3+" 3LICENSE="GPLv3+"
4SECTION = "devel" 4SECTION = "devel"
5PRIORITY = "optional" 5PRIORITY = "optional"
6DEPENDS = "ncurses readline"
6 7
7inherit autotools 8inherit autotools
8 9
@@ -18,3 +19,23 @@ export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}"
18 19
19B = "${WORKDIR}/build-${TARGET_SYS}" 20B = "${WORKDIR}/build-${TARGET_SYS}"
20 21
22EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
23
24EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \
25 --with-curses --disable-multilib --with-readline --disable-sim \
26 ${GDBPROPREFIX}"
27GDBPROPREFIX = "--program-prefix=''"
28
29do_configure () {
30 # override this function to avoid the autoconf/automake/aclocal/autoheader
31 # calls for now
32 (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
33 oe_runconf
34}
35
36PACKAGES =+ "gdbserver"
37FILES_gdbserver = "${bindir}/gdbserver"
38
39RRECOMMENDS_gdb_append_linux = " glibc-thread-db "
40RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db "
41