summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gdb')
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index 166ba8eeab..6baeb0ba9b 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -2,7 +2,7 @@ SUMMARY = "GNU debugger"
2HOMEPAGE = "http://www.gnu.org/software/gdb/" 2HOMEPAGE = "http://www.gnu.org/software/gdb/"
3LICENSE = "GPLv3+" 3LICENSE = "GPLv3+"
4SECTION = "devel" 4SECTION = "devel"
5DEPENDS = "expat zlib ncurses readline ${LTTNGUST}" 5DEPENDS = "expat zlib ncurses ${LTTNGUST}"
6 6
7LTTNGUST = "lttng-ust" 7LTTNGUST = "lttng-ust"
8LTTNGUST_aarch64 = "" 8LTTNGUST_aarch64 = ""
@@ -40,13 +40,17 @@ EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'"
40EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}" 40EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}"
41 41
42EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-werror \ 42EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-werror \
43 --with-curses --disable-multilib --with-system-readline --disable-sim \ 43 --with-curses --disable-multilib --disable-sim \
44 --without-lzma --without-guile \ 44 --without-lzma --without-guile \
45 ${GDBPROPREFIX} ${EXPAT} \ 45 ${GDBPROPREFIX} ${EXPAT} \
46 ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)} \ 46 ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)} \
47 --disable-rpath \ 47 --disable-rpath \
48 " 48 "
49 49
50PACKAGECONFIG ??= "readline"
51# Use --without-system-readline to compile with readline 5.
52PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline"
53
50GDBPROPREFIX = "--program-prefix=''" 54GDBPROPREFIX = "--program-prefix=''"
51 55
52do_configure () { 56do_configure () {