gdb: add version 7.9
PATCH 1/3 gdb: add version 7.9
Add gdb version 7.9, and adjust the tarball logic to default to .tar.xz (for 7.8 & 7.9), fall back to .tar.bz2 for 7.7.x and leave the rest alone.
Signed-off-by Gustavo Zacarias <[email protected]>
--- package/gdb/Config.in.host | 4 ++++ package/gdb/gdb.mk | 9 ++++----- 2 files changed, 8 insertions(+), 5 deletions(-)
package/gdb/Config.in.host +4 -0
@@ -37,6 +37,9 @@ choice config BR2_GDB_VERSION_7_8 bool "gdb 7.8.x" + config BR2_GDB_VERSION_7_9 + bool "gdb 7.9.x" + endchoice endif
@@ -49,3 +52,4 @@ config BR2_GDB_VERSION default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze default "7.7.1" if BR2_GDB_VERSION_7_7 || !BR2_PACKAGE_HOST_GDB default "7.8.2" if BR2_GDB_VERSION_7_8 + default "7.9" if BR2_GDB_VERSION_7_9
package/gdb/gdb.mk +4 -5
@@ -6,6 +6,7 @@ GDB_VERSION = $(call qstrip,$(BR2_GDB_VERSION)) GDB_SITE = $(BR2_GNU_MIRROR)/gdb +GDB_SOURCE = gdb-$(GDB_VERSION).tar.xz ifeq ($(BR2_arc),y) GDB_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils-gdb,$(GDB_VERSION))
@@ -19,13 +20,11 @@ GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz GDB_FROM_GIT = y endif -# Starting from 7.8.x, bz2 tarballs no longer available, use .tar.xz -# instead. -ifneq ($(filter 7.8.%,$(GDB_VERSION)),) -GDB_SOURCE = gdb-$(GDB_VERSION).tar.xz +# Use .tar.bz2 for 7.7.x since there was no .tar.xz release back then +ifneq ($(filter 7.7.%,$(GDB_VERSION)),) +GDB_SOURCE = gdb-$(GDB_VERSION).tar.bz2 endif -GDB_SOURCE ?= gdb-$(GDB_VERSION).tar.bz2 GDB_LICENSE = GPLv2+ LGPLv2+ GPLv3+ LGPLv3+ GDB_LICENSE_FILES = COPYING COPYING.LIB COPYING3 COPYING3.LIB
Signature · 1 line
2.0.5
PATCH 2/3 gdb: switch default to 7.8.x
Now that we've got 7.9 added default to version 7.8.x
Signed-off-by Gustavo Zacarias <[email protected]>
--- package/gdb/Config.in.host | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
package/gdb/Config.in.host +3 -3
@@ -27,7 +27,7 @@ choice prompt "GDB debugger Version" depends on !BR2_arc depends on !BR2_microblaze - default BR2_GDB_VERSION_7_7 + default BR2_GDB_VERSION_7_8 help Select the version of gdb you wish to use.
@@ -50,6 +50,6 @@ config BR2_GDB_VERSION depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB default "arc-2014.12-gdb" if BR2_arc default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze - default "7.7.1" if BR2_GDB_VERSION_7_7 || !BR2_PACKAGE_HOST_GDB - default "7.8.2" if BR2_GDB_VERSION_7_8 + default "7.7.1" if BR2_GDB_VERSION_7_7 + default "7.8.2" if BR2_GDB_VERSION_7_8 || !BR2_PACKAGE_HOST_GDB default "7.9" if BR2_GDB_VERSION_7_9
Signature · 1 line
2.0.5
PATCH 3/3 gdb: deprecate version 7.7.x
In reply to Gustavo ZacariasNow that 7.9 was added and 7.8.x is default we don't want to have a dozen versions so mark it as deprecated.
Signed-off-by Gustavo Zacarias <[email protected]>
--- package/gdb/Config.in.host | 1 + 1 file changed, 1 insertion(+)
package/gdb/Config.in.host +1 -0
@@ -33,6 +33,7 @@ choice config BR2_GDB_VERSION_7_7 bool "gdb 7.7.x" + depends on BR2_DEPRECATED_SINCE_2015_05 config BR2_GDB_VERSION_7_8 bool "gdb 7.8.x"
Signature · 1 line
2.0.5
PATCH 1/3 gdb: add version 7.9
In reply to Gustavo ZacariasDear Gustavo Zacarias,
Quoted 5 lines · Gustavo Zacarias
Add gdb version 7.9, and adjust the tarball logic to default to .tar.xz (for 7.8 & 7.9), fall back to .tar.bz2 for 7.7.x and leave the rest alone.
Signed-off-by Gustavo Zacarias <[email protected]>
All three patches applied, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com