[OE-core] [PATCH 2/4] gdb: add 7.6 version

Marcin Juszkiewicz marcin.juszkiewicz at linaro.org
Wed May 8 11:43:56 UTC 2013


Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz at linaro.org>
---
 meta/recipes-devtools/gdb/gdb-7.6.inc              | 11 ++++++++++
 .../gdb/gdb-7.6/gdbserver-cflags-last.diff         | 25 ++++++++++++++++++++++
 .../recipes-devtools/gdb/gdb-cross-canadian_7.6.bb |  5 +++++
 meta/recipes-devtools/gdb/gdb-cross_7.6.bb         |  4 ++++
 meta/recipes-devtools/gdb/gdb_7.6.bb               |  3 +++
 5 files changed, 48 insertions(+)
 create mode 100644 meta/recipes-devtools/gdb/gdb-7.6.inc
 create mode 100644 meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff
 create mode 100644 meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
 create mode 100644 meta/recipes-devtools/gdb/gdb-cross_7.6.bb
 create mode 100644 meta/recipes-devtools/gdb/gdb_7.6.bb

diff --git a/meta/recipes-devtools/gdb/gdb-7.6.inc b/meta/recipes-devtools/gdb/gdb-7.6.inc
new file mode 100644
index 0000000..20c4ea1
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb-7.6.inc
@@ -0,0 +1,11 @@
+LICENSE="GPLv2 & GPLv3 & LGPLv2 & LGPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
+		    file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
+		    file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
+		    file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674"
+
+PR = "${INC_PR}.0"
+S = "${WORKDIR}/${BPN}-${PV}"
+
+SRC_URI[md5sum] = "a9836707337e5f7bf76a009a8904f470"
+SRC_URI[sha256sum] = "8070389a5dcc104eb0be483d582729f98ed4d761ad19cedd3f17b5d2502faa36"
diff --git a/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff b/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff
new file mode 100644
index 0000000..4dfc419
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb-7.6/gdbserver-cflags-last.diff
@@ -0,0 +1,25 @@
+Upstream-Status: Pending
+
+---
+ gdb/gdbserver/Makefile.in |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- gdb/gdbserver/Makefile.in.orig
++++ gdb/gdbserver/Makefile.in
+@@ -118,14 +118,14 @@ WARN_CFLAGS_NO_FORMAT = `echo " $(WARN_C
+ # CFLAGS is specifically reserved for setting from the command line
+ # when running make.  I.E.  "make CFLAGS=-Wmissing-prototypes".
+ CFLAGS = @CFLAGS@
+ 
+ # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
+-INTERNAL_CFLAGS_BASE =  ${CFLAGS} ${GLOBAL_CFLAGS} \
++INTERNAL_CFLAGS_BASE =  ${GLOBAL_CFLAGS} \
+ 	${PROFILE_CFLAGS} ${INCLUDE_CFLAGS}
+ INTERNAL_WARN_CFLAGS =  ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
+-INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER
++INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} -DGDBSERVER
+ 
+ # LDFLAGS is specifically reserved for setting from the command line
+ # when running make.
+ LDFLAGS = @LDFLAGS@
+ INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
new file mode 100644
index 0000000..a2194a1
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
@@ -0,0 +1,5 @@
+require gdb-common.inc
+require gdb-cross-canadian.inc
+require gdb-7.6.inc
+
+GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.6.bb b/meta/recipes-devtools/gdb/gdb-cross_7.6.bb
new file mode 100644
index 0000000..62f6937
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb-cross_7.6.bb
@@ -0,0 +1,4 @@
+require gdb-cross.inc
+require gdb-7.6.inc
+
+SRC_URI += "file://sim-install-6.6.patch"
diff --git a/meta/recipes-devtools/gdb/gdb_7.6.bb b/meta/recipes-devtools/gdb/gdb_7.6.bb
new file mode 100644
index 0000000..0c9818d
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb_7.6.bb
@@ -0,0 +1,3 @@
+require gdb.inc
+require gdb-7.6.inc
+
-- 
1.8.1.2





More information about the Openembedded-core mailing list