diff options
Diffstat (limited to 'meta/packages/gdb/gdb-common.inc')
-rw-r--r-- | meta/packages/gdb/gdb-common.inc | 21 |
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/" | |||
3 | LICENSE="GPLv3+" | 3 | LICENSE="GPLv3+" |
4 | SECTION = "devel" | 4 | SECTION = "devel" |
5 | PRIORITY = "optional" | 5 | PRIORITY = "optional" |
6 | DEPENDS = "ncurses readline" | ||
6 | 7 | ||
7 | inherit autotools | 8 | inherit autotools |
8 | 9 | ||
@@ -18,3 +19,23 @@ export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}" | |||
18 | 19 | ||
19 | B = "${WORKDIR}/build-${TARGET_SYS}" | 20 | B = "${WORKDIR}/build-${TARGET_SYS}" |
20 | 21 | ||
22 | EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'" | ||
23 | |||
24 | EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \ | ||
25 | --with-curses --disable-multilib --with-readline --disable-sim \ | ||
26 | ${GDBPROPREFIX}" | ||
27 | GDBPROPREFIX = "--program-prefix=''" | ||
28 | |||
29 | do_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 | |||
36 | PACKAGES =+ "gdbserver" | ||
37 | FILES_gdbserver = "${bindir}/gdbserver" | ||
38 | |||
39 | RRECOMMENDS_gdb_append_linux = " glibc-thread-db " | ||
40 | RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db " | ||
41 | |||