From fe78894ed761bdb79901e696001b04716ccee6e5 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Sat, 13 Oct 2012 19:19:34 +0000
Subject: [toolchain] gdb: update to 7.5-2012.09

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33757 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 toolchain/gdb/Makefile                             |  8 ++++---
 .../patches/600-fix-compile-flag-mismatch.patch    | 25 +++++++++++-----------
 2 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index b08d76e57c..89f73ef49e 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -7,11 +7,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=gdb
-PKG_VERSION:=linaro-7.2-2011.03-0
+PKG_REV:=7.5-2012.09
+PKG_VERSION_MAJOR:=7.5
+PKG_VERSION:=linaro-$(PKG_REV)
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_MD5SUM:=747b655418058964451eff7c7a15013c
-PKG_SOURCE_URL:=http://launchpad.net/gdb-linaro/7.2/7.2-2011.03-0/+download/
+PKG_MD5SUM:=758c2da97c27f7b50ca48cb803eaa9aa
+PKG_SOURCE_URL:=http://launchpad.net/gdb-linaro/$(PKG_VERSION_MAJOR)/$(PKG_REV)/+download/
 
 HOST_BUILD_PARALLEL:=1
 
diff --git a/toolchain/gdb/patches/600-fix-compile-flag-mismatch.patch b/toolchain/gdb/patches/600-fix-compile-flag-mismatch.patch
index 089ab8c5a5..517cf12b00 100644
--- a/toolchain/gdb/patches/600-fix-compile-flag-mismatch.patch
+++ b/toolchain/gdb/patches/600-fix-compile-flag-mismatch.patch
@@ -1,26 +1,27 @@
---- a/gdb/configure
-+++ b/gdb/configure
-@@ -988,7 +988,7 @@ CPP
+--- a/gdb/configure	2012-09-13 16:01:22.000000000 +0200
++++ b/gdb/configure	2012-10-12 17:48:06.863908023 +0200
+@@ -828,8 +828,7 @@
  YACC
  YFLAGS
  XMKMF'
--ac_subdirs_all='doc testsuite
-+ac_subdirs_all='doc
- gdbtk
+-ac_subdirs_all='testsuite
+-gdbtk
++ac_subdirs_all='gdbtk
  multi-ice
  gdbserver'
-@@ -7881,7 +7881,7 @@ fi
  
+@@ -5023,7 +5022,7 @@
  
  
--subdirs="$subdirs doc testsuite"
-+subdirs="$subdirs doc"
+ 
+-subdirs="$subdirs testsuite"
++subdirs="$subdirs"
  
  
  # Check whether to support alternative target configurations
---- a/gdb/gdbserver/configure
-+++ b/gdb/gdbserver/configure
-@@ -2152,7 +2152,7 @@ $as_echo "$as_me: error: \`$ac_var' was 
+--- a/gdb/gdbserver/configure	2012-09-13 16:01:22.000000000 +0200
++++ b/gdb/gdbserver/configure	2012-10-12 17:49:29.775910147 +0200
+@@ -2173,7 +2173,7 @@
        ac_cache_corrupted=: ;;
      ,);;
      *)
-- 
cgit v1.2.3