From 2b0b5859b782e7a17fe1d86d77e33783156d70f0 Mon Sep 17 00:00:00 2001 From: Mischa Jonker Date: Tue, 30 Jul 2013 11:37:13 +0200 Subject: [PATCH] gdb: Add support for ARC-specific gdb Signed-off-by: Mischa Jonker Signed-off-by: Thomas Petazzoni --- package/gdb/Config.in.host | 2 ++ package/gdb/gdb.mk | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host index a791f09e50..128aed9e6c 100644 --- a/package/gdb/Config.in.host +++ b/package/gdb/Config.in.host @@ -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 diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk index fbb2fae56d..9cf90e32bb 100644 --- a/package/gdb/gdb.mk +++ b/package/gdb/gdb.mk @@ -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 -- 2.30.2