]> code.ossystems Code Review - openembedded-core.git/commitdiff
gdb: add 7.6 version
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Thu, 9 May 2013 08:48:35 +0000 (10:48 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 May 2013 08:37:10 +0000 (09:37 +0100)
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/gdb/gdb-7.6.inc [moved from meta/recipes-devtools/gdb/gdb_7.5.1.bb with 70% similarity]
meta/recipes-devtools/gdb/gdb-common.inc
meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb [moved from meta/recipes-devtools/gdb/gdb-cross-canadian_7.5.1.bb with 67% similarity]
meta/recipes-devtools/gdb/gdb-cross_7.6.bb [moved from meta/recipes-devtools/gdb/gdb-cross_7.5.1.bb with 56% similarity]
meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff
meta/recipes-devtools/gdb/gdb_7.6.bb [new file with mode: 0644]

similarity index 70%
rename from meta/recipes-devtools/gdb/gdb_7.5.1.bb
rename to meta/recipes-devtools/gdb/gdb-7.6.inc
index 0645b5619d3c2bfa9348343d4e3f686f0cd499d9..00cb6eea48b4e2baf227f7d37a01f13d5cbe2367 100644 (file)
@@ -1,9 +1,10 @@
-require gdb.inc
 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"
index 6f42dff7801866e18c6dcaef2a6129a92f05beda..deb3841400f048eab68f2293f9b83e10e9a7de62 100644 (file)
@@ -23,9 +23,6 @@ inherit autotools
 
 SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
           "
-SRC_URI[md5sum] = "b1519bf899890d21d4774845a6e602fe"
-SRC_URI[sha256sum] = "f99f26e2c1127f12ba14ece0947a9a9948be45e96b69ef363131e469a698636e"
-
 export CC_FOR_BUILD = "${BUILD_CC}"
 export CXX_FOR_BUILD = "${BUILD_CXX}"
 export CPP_FOR_BUILD = "${BUILD_CPP}"
similarity index 67%
rename from meta/recipes-devtools/gdb/gdb-cross-canadian_7.5.1.bb
rename to meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.bb
index c15aa7a489c3e091395ff405265573344b590e63..a2194a18efa32c83f1cca0d9e0e16495bd20f3cf 100644 (file)
@@ -1,8 +1,5 @@
 require gdb-common.inc
 require gdb-cross-canadian.inc
-
-PR = "${INC_PR}.0"
+require gdb-7.6.inc
 
 GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
-
-S = "${WORKDIR}/${BPN}-${PV}"
similarity index 56%
rename from meta/recipes-devtools/gdb/gdb-cross_7.5.1.bb
rename to meta/recipes-devtools/gdb/gdb-cross_7.6.bb
index a14d0ba952d7801268cc95617888e734af1f97bd..62f6937bd5d3ad0d4a60bd7a073ac7d0b121201c 100644 (file)
@@ -1,7 +1,4 @@
 require gdb-cross.inc
+require gdb-7.6.inc
 
 SRC_URI += "file://sim-install-6.6.patch"
-
-PR = "${INC_PR}.0"
-
-S = "${WORKDIR}/${BPN}-${PV}"
index 8256f17c3015c1b532794c39f2946031d914cfcb..4dfc419c430608ea7c8e2f568b3303bb23be7fdb 100644 (file)
@@ -1,10 +1,14 @@
 Upstream-Status: Pending
 
-Index: gdb/gdbserver/Makefile.in
-===================================================================
---- gdb/gdbserver/Makefile.in.orig     2011-03-09 23:32:02.000000000 -0800
-+++ gdb/gdbserver/Makefile.in  2011-08-05 21:16:43.592202579 -0700
-@@ -94,10 +94,10 @@
+---
+ 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.
@@ -12,8 +16,10 @@ Index: gdb/gdbserver/Makefile.in
 +INTERNAL_CFLAGS_BASE =  ${GLOBAL_CFLAGS} \
        ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS}
  INTERNAL_WARN_CFLAGS =  ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
--INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS)
-+INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${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_7.6.bb b/meta/recipes-devtools/gdb/gdb_7.6.bb
new file mode 100644 (file)
index 0000000..6b38812
--- /dev/null
@@ -0,0 +1,2 @@
+require gdb.inc
+require gdb-7.6.inc