diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:46:13 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:46:13 +0200 |
commit | 8d89651ef729e560ad96dcfc002fcde6ff7f923b (patch) | |
tree | eb5be01c25f735d12fe9881ee6327c9b7e8bbe39 /meta-linaro-toolchain/recipes-devtools/gdb | |
download | meta-linaro-dizzy-enea.tar.gz |
initial commit for Enea Linux 5.0 armdizzy-enea
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-linaro-toolchain/recipes-devtools/gdb')
5 files changed, 64 insertions, 0 deletions
diff --git a/meta-linaro-toolchain/recipes-devtools/gdb/gdb-7.8/sim-install-6.6.patch b/meta-linaro-toolchain/recipes-devtools/gdb/gdb-7.8/sim-install-6.6.patch new file mode 100644 index 0000000..f67c25d --- /dev/null +++ b/meta-linaro-toolchain/recipes-devtools/gdb/gdb-7.8/sim-install-6.6.patch | |||
@@ -0,0 +1,14 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | --- gdb-6.1/sim/common/Makefile.in~ 2004-01-15 21:25:06.000000000 +0000 | ||
4 | +++ gdb-6.1/sim/common/Makefile.in 2004-07-22 17:07:46.237809032 +0100 | ||
5 | @@ -34,7 +34,7 @@ | ||
6 | |||
7 | datadir = @datadir@ | ||
8 | mandir = @mandir@ | ||
9 | -man1dir = $(mandir)/man1 | ||
10 | +man1dir = $(DESTDIR)$(mandir)/man1 | ||
11 | infodir = @infodir@ | ||
12 | includedir = @includedir@ | ||
13 | |||
14 | |||
diff --git a/meta-linaro-toolchain/recipes-devtools/gdb/gdb-cross-canadian_linaro-7.8.bb b/meta-linaro-toolchain/recipes-devtools/gdb/gdb-cross-canadian_linaro-7.8.bb new file mode 100644 index 0000000..5c79fdd --- /dev/null +++ b/meta-linaro-toolchain/recipes-devtools/gdb/gdb-cross-canadian_linaro-7.8.bb | |||
@@ -0,0 +1,3 @@ | |||
1 | require recipes-devtools/gdb/gdb-common.inc | ||
2 | require recipes-devtools/gdb/gdb-cross-canadian.inc | ||
3 | require gdb-${PV}.inc | ||
diff --git a/meta-linaro-toolchain/recipes-devtools/gdb/gdb-cross_linaro-7.8.bb b/meta-linaro-toolchain/recipes-devtools/gdb/gdb-cross_linaro-7.8.bb new file mode 100644 index 0000000..b2003b4 --- /dev/null +++ b/meta-linaro-toolchain/recipes-devtools/gdb/gdb-cross_linaro-7.8.bb | |||
@@ -0,0 +1,4 @@ | |||
1 | require recipes-devtools/gdb/gdb-cross.inc | ||
2 | require gdb-${PV}.inc | ||
3 | |||
4 | SRC_URI += "file://sim-install-6.6.patch" | ||
diff --git a/meta-linaro-toolchain/recipes-devtools/gdb/gdb-linaro-7.8.inc b/meta-linaro-toolchain/recipes-devtools/gdb/gdb-linaro-7.8.inc new file mode 100644 index 0000000..773fcea --- /dev/null +++ b/meta-linaro-toolchain/recipes-devtools/gdb/gdb-linaro-7.8.inc | |||
@@ -0,0 +1,20 @@ | |||
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 | |||
8 | MMYY = "14.09" | ||
9 | RELEASE = "20${MMYY}" | ||
10 | PR = "r${RELEASE}" | ||
11 | BINV = "7.8" | ||
12 | |||
13 | S = "${WORKDIR}/${BPN}-${PV}-${RELEASE}" | ||
14 | |||
15 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gdb-${BINV}' ], d)}" | ||
16 | |||
17 | SRC_URI = "https://releases.linaro.org/${MMYY}/components/toolchain/gdb-linaro/gdb-${PV}-${RELEASE}.tar.xz" | ||
18 | |||
19 | SRC_URI[md5sum] = "954e47e397de0b635ecdb5bb5d0f145f" | ||
20 | SRC_URI[sha256sum] = "fbbe96b8d0debf7c2d8c9a4a6c7ca0ba87d536e43289f81c4af56f95e5f7b5ea" | ||
diff --git a/meta-linaro-toolchain/recipes-devtools/gdb/gdb_linaro-7.8.bb b/meta-linaro-toolchain/recipes-devtools/gdb/gdb_linaro-7.8.bb new file mode 100644 index 0000000..3ce2de4 --- /dev/null +++ b/meta-linaro-toolchain/recipes-devtools/gdb/gdb_linaro-7.8.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | require recipes-devtools/gdb/gdb.inc | ||
2 | require gdb-${PV}.inc | ||
3 | |||
4 | inherit python-dir | ||
5 | |||
6 | PACKAGECONFIG ??= "" | ||
7 | PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python" | ||
8 | |||
9 | do_configure_prepend() { | ||
10 | if [ -n "${@base_contains('PACKAGECONFIG', 'python', 'python', '', d)}" ]; then | ||
11 | cat > ${WORKDIR}/python << EOF | ||
12 | #!/bin/sh | ||
13 | case "\$2" in | ||
14 | --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;; | ||
15 | --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;; | ||
16 | --exec-prefix) echo "${exec_prefix}" ;; | ||
17 | *) exit 1 ;; | ||
18 | esac | ||
19 | exit 0 | ||
20 | EOF | ||
21 | chmod +x ${WORKDIR}/python | ||
22 | fi | ||
23 | } | ||