diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-11-05 17:37:33 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-07 10:56:26 +0000 |
| commit | 099199c951480aefeba2c6c910c8ca7d740742bd (patch) | |
| tree | 84aaefa35fb340ed7306205c5cb834de02fda6f8 | |
| parent | 7bfe8b2f8c5565a057ff903433fce87c569314ca (diff) | |
| download | poky-099199c951480aefeba2c6c910c8ca7d740742bd.tar.gz | |
gdb: Add dependency on libgmp
gdb 11 has added this library as must have
(From OE-Core rev: 4643d1eb222151384f77d13a936537aae5ca3fe6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-devtools/gdb/gdb-common.inc | 3 | ||||
| -rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc index 0fe7b4e5b0..f3ab3544da 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 | DESCRIPTION = "GDB, the GNU Project debugger, allows you to see what is going on inside another program while it executes -- or what another program was doing at the moment it crashed." | 3 | DESCRIPTION = "GDB, the GNU Project debugger, allows you to see what is going on inside another program while it executes -- or what another program was doing at the moment it crashed." |
| 4 | SECTION = "devel" | 4 | SECTION = "devel" |
| 5 | DEPENDS = "expat zlib ncurses virtual/libiconv ${LTTNGUST} bison-native" | 5 | DEPENDS = "expat gmp zlib ncurses virtual/libiconv ${LTTNGUST} bison-native" |
| 6 | 6 | ||
| 7 | LTTNGUST = "lttng-ust" | 7 | LTTNGUST = "lttng-ust" |
| 8 | LTTNGUST:arc = "" | 8 | LTTNGUST:arc = "" |
| @@ -27,6 +27,7 @@ EXTRA_OECONF = "--disable-gdbtk --disable-x --disable-werror \ | |||
| 27 | --disable-gas --disable-binutils \ | 27 | --disable-gas --disable-binutils \ |
| 28 | --disable-ld --disable-gold \ | 28 | --disable-ld --disable-gold \ |
| 29 | --disable-gprof \ | 29 | --disable-gprof \ |
| 30 | --with-libgmp-prefix=${STAGING_EXECPREFIXDIR} \ | ||
| 30 | " | 31 | " |
| 31 | 32 | ||
| 32 | PACKAGECONFIG ??= "readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}" | 33 | PACKAGECONFIG ??= "readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}" |
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc index dfacba29a0..836c51a3de 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc | |||
| @@ -6,7 +6,7 @@ SUMMARY = "GNU debugger (cross-canadian gdb for ${TARGET_ARCH} target)" | |||
| 6 | PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" | 6 | PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" |
| 7 | BPN = "gdb" | 7 | BPN = "gdb" |
| 8 | 8 | ||
| 9 | DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext \ | 9 | DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext nativesdk-gmp \ |
| 10 | virtual/${HOST_PREFIX}gcc-crosssdk virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-libc" | 10 | virtual/${HOST_PREFIX}gcc-crosssdk virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-libc" |
| 11 | 11 | ||
| 12 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" | 12 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" |
