diff options
Diffstat (limited to 'meta/recipes-devtools/gdb')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-common.inc | 8 |
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" | |||
2 | HOMEPAGE = "http://www.gnu.org/software/gdb/" | 2 | HOMEPAGE = "http://www.gnu.org/software/gdb/" |
3 | LICENSE = "GPLv3+" | 3 | LICENSE = "GPLv3+" |
4 | SECTION = "devel" | 4 | SECTION = "devel" |
5 | DEPENDS = "expat zlib ncurses readline ${LTTNGUST}" | 5 | DEPENDS = "expat zlib ncurses ${LTTNGUST}" |
6 | 6 | ||
7 | LTTNGUST = "lttng-ust" | 7 | LTTNGUST = "lttng-ust" |
8 | LTTNGUST_aarch64 = "" | 8 | LTTNGUST_aarch64 = "" |
@@ -40,13 +40,17 @@ EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'" | |||
40 | EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}" | 40 | EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}" |
41 | 41 | ||
42 | EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-werror \ | 42 | EXTRA_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 | ||
50 | PACKAGECONFIG ??= "readline" | ||
51 | # Use --without-system-readline to compile with readline 5. | ||
52 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline" | ||
53 | |||
50 | GDBPROPREFIX = "--program-prefix=''" | 54 | GDBPROPREFIX = "--program-prefix=''" |
51 | 55 | ||
52 | do_configure () { | 56 | do_configure () { |