Patchwork [v3,4/7] gdb: add microblaze internal toolchain

login
register
mail settings
Submitter Spenser Gilliland
Date Nov. 13, 2013, 9:28 p.m.
Message ID <1384378130-8599-5-git-send-email-spenser@gillilanding.com>
Download mbox | patch
Permalink /patch/291048/
State Accepted
Commit 5ac778f758a2683b46c74e44cc81acf40a44dd81
Headers show

Comments

Spenser Gilliland - Nov. 13, 2013, 9:28 p.m.
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 package/gdb/Config.in.host |    2 ++
 package/gdb/gdb.mk         |    5 +++++
 2 files changed, 7 insertions(+), 0 deletions(-)

Patch

diff --git a/package/gdb/Config.in.host b/package/gdb/Config.in.host
index 074aa57..de0e0be 100644
--- a/package/gdb/Config.in.host
+++ b/package/gdb/Config.in.host
@@ -16,6 +16,7 @@  if BR2_PACKAGE_HOST_GDB
 choice
 	prompt "GDB debugger Version"
 	depends on !BR2_arc
+	depends on !BR2_microblaze
 	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
@@ -59,5 +60,6 @@  config BR2_GDB_VERSION
 	default "7.4.1"    if BR2_GDB_VERSION_7_4
 	default "7.5.1"    if BR2_GDB_VERSION_7_5
 	default "f25a1952afd054205f9471e449c1f7ca5b271b7c" if BR2_arc
+	default "6be65fb56ea6694a9260733a536a023a1e2d4d57" if BR2_microblaze
 
 endif
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 53e6048..bee3135 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -26,6 +26,11 @@  GDB_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gdb,$(GDB_VERSION)
 GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
 endif
 
+ifeq ($(BR2_microblaze),y)
+GDB_SITE = $(call github,Xilinx,gdb,$(GDB_VERSION))
+GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz
+endif
+
 ifeq ($(GDB_VERSION),6.7.1-avr32-2.1.5)
 GDB_SITE = ftp://www.at91.com/pub/buildroot/
 endif