gdb: Add support for ARC-specific gdb
authorMischa Jonker <mischa.jonker@synopsys.com>
Tue, 30 Jul 2013 09:37:13 +0000 (11:37 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 30 Jul 2013 21:25:05 +0000 (23:25 +0200)
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gdb/Config.in.host
package/gdb/gdb.mk

index a791f09e502b4f2e7e76a9f4fe54d46f2680a513..128aed9e6cb7ac2ab572b1cb8287ad604c36aaae 100644 (file)
@@ -15,6 +15,7 @@ if BR2_PACKAGE_HOST_GDB
 
 choice
        prompt "GDB debugger Version"
+       depends on !BR2_arc
        default BR2_GDB_VERSION_6_6 if BR2_bfin
        default BR2_GDB_VERSION_6_7_1_AVR32_2_1_5 if BR2_avr32
        default BR2_GDB_VERSION_7_5
@@ -57,5 +58,6 @@ config BR2_GDB_VERSION
        default "7.3.1"    if BR2_GDB_VERSION_7_3
        default "7.4.1"    if BR2_GDB_VERSION_7_4
        default "7.5.1"    if BR2_GDB_VERSION_7_5
+       default "7.5.1-arc" if BR2_arc
 
 endif
index fbb2fae56d74f1fa374019d55ffd2cf5a6b83399..9cf90e32bb088af423190ae5742b97c6b8711feb 100644 (file)
@@ -21,6 +21,10 @@ GDB_VERSION = 7.5.1
 endif
 endif
 
+ifeq ($(BR2_arc),y)
+GDB_SITE = $(BR2_ARC_SITE)
+endif
+
 ifeq ($(GDB_VERSION),6.7.1-avr32-2.1.5)
 GDB_SITE = ftp://www.at91.com/pub/buildroot/
 endif