Prechádzať zdrojové kódy

gdb: add version 7.8

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>
Thomas Petazzoni 11 rokov pred
rodič
commit
775cffcdc1
2 zmenil súbory, kde vykonal 8 pridanie a 0 odobranie
  1. 4 0
      package/gdb/Config.in.host
  2. 4 0
      package/gdb/gdb.mk

+ 4 - 0
package/gdb/Config.in.host

@@ -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

+ 4 - 0
package/gdb/gdb.mk

@@ -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