summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-11-05 17:37:33 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-07 10:56:26 +0000
commit099199c951480aefeba2c6c910c8ca7d740742bd (patch)
tree84aaefa35fb340ed7306205c5cb834de02fda6f8 /meta/recipes-devtools/gdb
parent7bfe8b2f8c5565a057ff903433fce87c569314ca (diff)
downloadpoky-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>
Diffstat (limited to 'meta/recipes-devtools/gdb')
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc3
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian.inc2
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"
2HOMEPAGE = "http://www.gnu.org/software/gdb/" 2HOMEPAGE = "http://www.gnu.org/software/gdb/"
3DESCRIPTION = "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." 3DESCRIPTION = "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."
4SECTION = "devel" 4SECTION = "devel"
5DEPENDS = "expat zlib ncurses virtual/libiconv ${LTTNGUST} bison-native" 5DEPENDS = "expat gmp zlib ncurses virtual/libiconv ${LTTNGUST} bison-native"
6 6
7LTTNGUST = "lttng-ust" 7LTTNGUST = "lttng-ust"
8LTTNGUST:arc = "" 8LTTNGUST: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
32PACKAGECONFIG ??= "readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}" 33PACKAGECONFIG ??= "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)"
6PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" 6PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
7BPN = "gdb" 7BPN = "gdb"
8 8
9DEPENDS = "nativesdk-ncurses nativesdk-expat nativesdk-gettext \ 9DEPENDS = "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
12GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" 12GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"