From 21e0bd7476bfa5120d52d6167c90f96266f0e414 Mon Sep 17 00:00:00 2001 From: Laurentiu Palcu Date: Thu, 6 Feb 2014 17:29:22 +0200 Subject: gdb: upgrade to 7.6.2 (From OE-Core rev: bfeb7ce8b525890c150f0b1cc2c5df089aa4b052) Signed-off-by: Laurentiu Palcu Signed-off-by: Richard Purdie --- meta/recipes-devtools/gdb/gdb_7.6.2.bb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta/recipes-devtools/gdb/gdb_7.6.2.bb (limited to 'meta/recipes-devtools/gdb/gdb_7.6.2.bb') diff --git a/meta/recipes-devtools/gdb/gdb_7.6.2.bb b/meta/recipes-devtools/gdb/gdb_7.6.2.bb new file mode 100644 index 0000000000..e86447121b --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb_7.6.2.bb @@ -0,0 +1,23 @@ +require gdb.inc +require gdb-${PV}.inc + +inherit python-dir + +PACKAGECONFIG ??= "" +PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python" + +do_configure_prepend() { + if [ -n "${@base_contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then + cat > ${WORKDIR}/python << EOF +#!/bin/sh +case "\$2" in + --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;; + --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;; + --exec-prefix) echo "${exec_prefix}" ;; + *) exit 1 ;; +esac +exit 0 +EOF + chmod +x ${WORKDIR}/python + fi +} -- cgit v1.2.3-54-g00ecf