diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-02-14 07:42:39 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-15 10:26:42 +0000 |
commit | cb1c0307a8283e7ef3f9d0faa5553b5747f0ac23 (patch) | |
tree | 3f0fd00a3c35650e2cc120cfc2554d1a6c5d7565 /meta/recipes-devtools/gdb/gdb_9.1.bb | |
parent | b05234524a6db7b764a1bb987f3bca44789a58ca (diff) | |
download | poky-cb1c0307a8283e7ef3f9d0faa5553b5747f0ac23.tar.gz |
gdb: Upgrade to 9.1 release
Drop security patches which are now in 9.1 already
Forward port rest of patches to 9.1
Detailed changes [1]
[1] https://lists.gnu.org/archive/html/info-gnu/2020-02/msg00008.html
(From OE-Core rev: 4c1c01e023b123c86a418fdeddb69be097deef86)
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/gdb_9.1.bb')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb_9.1.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/gdb_9.1.bb b/meta/recipes-devtools/gdb/gdb_9.1.bb new file mode 100644 index 0000000000..d70757a151 --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb_9.1.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | require gdb.inc | ||
2 | require gdb-${PV}.inc | ||
3 | |||
4 | inherit python3-dir | ||
5 | |||
6 | EXTRA_OEMAKE_append_libc-musl = "\ | ||
7 | gt_cv_func_gnugettext1_libc=yes \ | ||
8 | gt_cv_func_gnugettext2_libc=yes \ | ||
9 | gl_cv_func_working_strerror=yes \ | ||
10 | gl_cv_func_strerror_0_works=yes \ | ||
11 | gl_cv_func_gettimeofday_clobber=no \ | ||
12 | " | ||
13 | |||
14 | do_configure_prepend() { | ||
15 | if [ "${@bb.utils.filter('PACKAGECONFIG', 'python', d)}" ]; then | ||
16 | cat > ${WORKDIR}/python << EOF | ||
17 | #!/bin/sh | ||
18 | case "\$2" in | ||
19 | --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}/" ;; | ||
20 | --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" ;; | ||
21 | --exec-prefix) echo "${exec_prefix}" ;; | ||
22 | *) exit 1 ;; | ||
23 | esac | ||
24 | exit 0 | ||
25 | EOF | ||
26 | chmod +x ${WORKDIR}/python | ||
27 | fi | ||
28 | } | ||