diff options
| author | Nathan Rossi <nathan.rossi@xilinx.com> | 2014-12-17 17:23:14 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2014-12-17 17:23:14 +1000 |
| commit | 05ca55921548e949c7c95f9a85c568a673d4ad40 (patch) | |
| tree | 864712bfe681810dd75cea288e0dcb9bdb43d46d /recipes-devtools/gdb | |
| parent | 7f759048bb0aeef3c0b3938be81d2bcade7acb7e (diff) | |
| download | meta-xilinx-05ca55921548e949c7c95f9a85c568a673d4ad40.tar.gz | |
gdb: Port gdb 7.7.1 recipes from oe-core
* Port the gdb 7.7.1 recipes from oe-core, this is due to issues with
re-producing a functional gdb for 7.8.1+
* Default MicroBlaze machines to use gdb 7.7.1
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Diffstat (limited to 'recipes-devtools/gdb')
| -rw-r--r-- | recipes-devtools/gdb/gdb-7.7.1.inc | 11 | ||||
| -rw-r--r-- | recipes-devtools/gdb/gdb-cross-canadian_7.7%.bbappend | 1 | ||||
| -rw-r--r-- | recipes-devtools/gdb/gdb-cross-canadian_7.7.1.bb | 4 | ||||
| -rw-r--r-- | recipes-devtools/gdb/gdb-cross_7.7%.bbappend | 1 | ||||
| -rw-r--r-- | recipes-devtools/gdb/gdb-cross_7.7.1.bb | 3 | ||||
| -rw-r--r-- | recipes-devtools/gdb/gdb_7.7%.bbappend | 1 | ||||
| -rw-r--r-- | recipes-devtools/gdb/gdb_7.7.1.bb | 29 |
7 files changed, 47 insertions, 3 deletions
diff --git a/recipes-devtools/gdb/gdb-7.7.1.inc b/recipes-devtools/gdb/gdb-7.7.1.inc new file mode 100644 index 00000000..04488e9e --- /dev/null +++ b/recipes-devtools/gdb/gdb-7.7.1.inc | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | LICENSE = "GPLv2 & GPLv3 & LGPLv2 & LGPLv3" | ||
| 2 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | ||
| 3 | file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ | ||
| 4 | file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ | ||
| 5 | file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674" | ||
| 6 | |||
| 7 | S = "${WORKDIR}/${BPN}-${PV}" | ||
| 8 | |||
| 9 | SRC_URI[md5sum] = "45b07b53d81832d32ccd4829465d4886" | ||
| 10 | SRC_URI[sha256sum] = "eefadb9831e3695d1eaef34e98b8f1fb441df6fe5071317ea49c6bd6ba213eff" | ||
| 11 | |||
diff --git a/recipes-devtools/gdb/gdb-cross-canadian_7.7%.bbappend b/recipes-devtools/gdb/gdb-cross-canadian_7.7%.bbappend deleted file mode 100644 index 2d7cc4fe..00000000 --- a/recipes-devtools/gdb/gdb-cross-canadian_7.7%.bbappend +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | require gdb-microblaze-7.7.inc | ||
diff --git a/recipes-devtools/gdb/gdb-cross-canadian_7.7.1.bb b/recipes-devtools/gdb/gdb-cross-canadian_7.7.1.bb new file mode 100644 index 00000000..c349ebbb --- /dev/null +++ b/recipes-devtools/gdb/gdb-cross-canadian_7.7.1.bb | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | require recipes-devtools/gdb/gdb-common.inc | ||
| 2 | require recipes-devtools/gdb/gdb-cross-canadian.inc | ||
| 3 | require gdb-${PV}.inc | ||
| 4 | require gdb-microblaze-7.7.inc | ||
diff --git a/recipes-devtools/gdb/gdb-cross_7.7%.bbappend b/recipes-devtools/gdb/gdb-cross_7.7%.bbappend deleted file mode 100644 index 2d7cc4fe..00000000 --- a/recipes-devtools/gdb/gdb-cross_7.7%.bbappend +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | require gdb-microblaze-7.7.inc | ||
diff --git a/recipes-devtools/gdb/gdb-cross_7.7.1.bb b/recipes-devtools/gdb/gdb-cross_7.7.1.bb new file mode 100644 index 00000000..98b3359c --- /dev/null +++ b/recipes-devtools/gdb/gdb-cross_7.7.1.bb | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | require recipes-devtools/gdb/gdb-cross.inc | ||
| 2 | require gdb-${PV}.inc | ||
| 3 | require gdb-microblaze-7.7.inc | ||
diff --git a/recipes-devtools/gdb/gdb_7.7%.bbappend b/recipes-devtools/gdb/gdb_7.7%.bbappend deleted file mode 100644 index 2d7cc4fe..00000000 --- a/recipes-devtools/gdb/gdb_7.7%.bbappend +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | require gdb-microblaze-7.7.inc | ||
diff --git a/recipes-devtools/gdb/gdb_7.7.1.bb b/recipes-devtools/gdb/gdb_7.7.1.bb new file mode 100644 index 00000000..80b589a1 --- /dev/null +++ b/recipes-devtools/gdb/gdb_7.7.1.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | require recipes-devtools/gdb/gdb-common.inc | ||
| 2 | require gdb-${PV}.inc | ||
| 3 | require gdb-microblaze-7.7.inc | ||
| 4 | |||
| 5 | inherit gettext | ||
| 6 | inherit python-dir | ||
| 7 | |||
| 8 | PACKAGECONFIG ??= "" | ||
| 9 | PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python" | ||
| 10 | PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" | ||
| 11 | |||
| 12 | do_configure_prepend() { | ||
| 13 | if [ -n "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then | ||
| 14 | cat > ${WORKDIR}/python << EOF | ||
| 15 | #!/bin/sh | ||
| 16 | case "\$2" in | ||
| 17 | --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;; | ||
| 18 | --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;; | ||
| 19 | --exec-prefix) echo "${exec_prefix}" ;; | ||
| 20 | *) exit 1 ;; | ||
| 21 | esac | ||
| 22 | exit 0 | ||
| 23 | EOF | ||
| 24 | chmod +x ${WORKDIR}/python | ||
| 25 | fi | ||
| 26 | } | ||
| 27 | |||
| 28 | PACKAGES =+ "gdbserver" | ||
| 29 | FILES_gdbserver = "${bindir}/gdbserver" | ||
