gdb: add version 7.8
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 15 Sep 2014 20:50:03 +0000 (22:50 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 16 Sep 2014 20:20:41 +0000 (22:20 +0200)
This commit adds support for the 7.8 version of gdb. Note that the
tarball of this version is not available as a .tar.bz2, so we have to
add a special case and download the .tar.xz for this version.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gdb/Config.in.host
package/gdb/gdb.mk

index 10d16b9e54633ac99daf50f0a5231b4166dcc4ef..f51b5b1fcb78e12f2ecab7a081c857b3a7ead128 100644 (file)
@@ -39,6 +39,9 @@ choice
        config BR2_GDB_VERSION_7_7
                bool "gdb 7.7.x"
 
+       config BR2_GDB_VERSION_7_8
+               bool "gdb 7.8.x"
+
 endchoice
 
 endif
@@ -53,3 +56,4 @@ config BR2_GDB_VERSION
        default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
        default "7.6.2"    if BR2_GDB_VERSION_7_6 || !BR2_PACKAGE_HOST_GDB
        default "7.7.1"    if BR2_GDB_VERSION_7_7 || BR2_powerpc64le
+       default "7.8"      if BR2_GDB_VERSION_7_8
index 85b78832b51245260bd8866a865fa32c0afe3fc3..07f6ba3936d1eecf2e13ff0d0eea392778780d0d 100644 (file)
@@ -23,6 +23,10 @@ ifeq ($(GDB_VERSION),6.7.1-avr32-2.1.5)
 GDB_SITE = ftp://www.at91.com/pub/buildroot
 endif
 
+ifeq ($(GDB_VERSION),7.8)
+GDB_SOURCE = gdb-$(GDB_VERSION).tar.xz
+endif
+
 GDB_SOURCE ?= gdb-$(GDB_VERSION).tar.bz2
 GDB_LICENSE = GPLv2+ LGPLv2+ GPLv3+ LGPLv3+
 GDB_LICENSE_FILES = COPYING COPYING.LIB COPYING3 COPYING3.LIB