Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] gdb: Add support for ARC-specific gdb
@ 2013-07-30  9:37 Mischa Jonker
  2013-07-31 16:17 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Mischa Jonker @ 2013-07-30  9:37 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
---
 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 a791f09..128aed9 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 fbb2fae..9cf90e3 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
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-31 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-30  9:37 [Buildroot] [PATCH] gdb: Add support for ARC-specific gdb Mischa Jonker
2013-07-31 16:17 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox