diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-05-15 23:32:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-22 13:13:33 +0100 |
commit | e51c0c398c4bbaec18c7e041be210e57847f362d (patch) | |
tree | f37626aba78aa864f1d76047e98a63e4524986a2 /meta/recipes-devtools/gdb/gdb_8.1.bb | |
parent | 69eb0135878f0f9a73a55d0e5a31a5844b890690 (diff) | |
download | poky-e51c0c398c4bbaec18c7e041be210e57847f362d.tar.gz |
gdb: Upgrade to 8.1 release
cache strerror so it does not try to use rpl_* versions
(From OE-Core rev: 02664a8dcd1ebb6cd77248e1b97a78390ea06033)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb_8.1.bb')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb_8.1.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/gdb_8.1.bb b/meta/recipes-devtools/gdb/gdb_8.1.bb new file mode 100644 index 0000000000..84ab08ce93 --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb_8.1.bb | |||
@@ -0,0 +1,29 @@ | |||
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 | } | ||
29 | CFLAGS_append_libc-musl = " -Drpl_gettimeofday=gettimeofday" | ||