summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpenser Gilliland <spenser@gillilanding.com>2013-12-05 17:20:52 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-12-06 21:45:25 (GMT)
commitcdcb9690eaf977dd020a36fcb33b9c8ff04e2435 (patch)
tree3f7c66f84d3785b186af4513aae1967e54360f19
parent26cc49f6c662b8d94255106bd2acaa0751212c16 (diff)
downloadbuildroot-cdcb9690eaf977dd020a36fcb33b9c8ff04e2435.tar.gz
buildroot-cdcb9690eaf977dd020a36fcb33b9c8ff04e2435.tar.bz2
binutils: add microblaze internal toolchain
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/binutils/Config.in.host2
-rw-r--r--package/binutils/binutils.mk4
2 files changed, 6 insertions, 0 deletions
diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
index ef833ec..a8e1e45 100644
--- a/package/binutils/Config.in.host
+++ b/package/binutils/Config.in.host
@@ -3,6 +3,7 @@ comment "Binutils Options"
choice
prompt "Binutils Version"
depends on !BR2_arc
+ depends on !BR2_microblaze
default BR2_BINUTILS_VERSION_2_21 if (BR2_mips || BR2_mipsel || BR2_sh)
default BR2_BINUTILS_VERSION_2_22
help
@@ -49,6 +50,7 @@ config BR2_BINUTILS_VERSION
string
default "2.18-avr32-1.0.1" if BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1
default "0c824ba511fa9b028220eb3c39b566af89ac9dda" if BR2_arc
+ default "8351467c933d277ebea0c8d99ad2b65b5f7b6bc2" if BR2_microblaze
default "2.20.1" if BR2_BINUTILS_VERSION_2_20_1
default "2.21" if BR2_BINUTILS_VERSION_2_21
default "2.21.1" if BR2_BINUTILS_VERSION_2_21_1
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index 3c14849..13854b0 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -27,6 +27,10 @@ ifeq ($(BR2_arc),y)
BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils,$(BINUTILS_VERSION))
BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
endif
+ifeq ($(BR2_microblaze),y)
+BINUTILS_SITE = $(call github,Xilinx,binutils,$(BINUTILS_VERSION))
+BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz
+endif
BINUTILS_SITE ?= $(BR2_GNU_MIRROR)/binutils
BINUTILS_SOURCE ?= binutils-$(BINUTILS_VERSION).tar.bz2
BINUTILS_EXTRA_CONFIG_OPTIONS = $(call qstrip,$(BR2_BINUTILS_EXTRA_CONFIG_OPTIONS))