summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-09-17 03:20:07 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2020-09-17 03:20:07 (GMT)
commit5e4dd560bc1ae68767c6454fa5669458fe14a88e (patch)
treebd3f4089344c494ad58851bb02c1d620441c8722
parentdd3671cee1580541c8c03fa8d94baa3d092bb964 (diff)
binutils: downgrade for bfin, ld segfaults for FDPIC toolchain building
-rw-r--r--target/config/Config.in.binutils11
-rw-r--r--toolchain/binutils/Makefile.inc7
2 files changed, 12 insertions, 6 deletions
diff --git a/target/config/Config.in.binutils b/target/config/Config.in.binutils
index 7e9e70d..13e9132 100644
--- a/target/config/Config.in.binutils
+++ b/target/config/Config.in.binutils
@@ -6,19 +6,18 @@ prompt "Binutils version"
default ADK_TOOLCHAIN_BINUTILS_AVR32 if ADK_TARGET_ARCH_AVR32
default ADK_TOOLCHAIN_BINUTILS_NDS32 if ADK_TARGET_ARCH_NDS32
default ADK_TOOLCHAIN_BINUTILS_2_28 if ADK_TARGET_CPU_SH_J2
+default ADK_TOOLCHAIN_BINUTILS_2_34 if ADK_TARGET_ARCH_BFIN
default ADK_TOOLCHAIN_BINUTILS_2_35
config ADK_TOOLCHAIN_BINUTILS_GIT
bool "git"
depends on !ADK_TARGET_ARCH_AVR32
- depends on !ADK_TARGET_ARCH_CSKY
+ depends on !ADK_TARGET_ARCH_BFIN
depends on !ADK_TARGET_ARCH_NDS32
-config ADK_TOOLCHAIN_BINUTILS_2_35
- bool "2.35"
- depends on !ADK_TARGET_ARCH_AVR32
- depends on !ADK_TARGET_ARCH_NDS32
- depends on !ADK_TARGET_CPU_SH_J2
+config ADK_TOOLCHAIN_BINUTILS_2_34
+ bool "2.34"
+ depends on ADK_TARGET_ARCH_BFIN # ld segfault for FDPIC
config ADK_TOOLCHAIN_BINUTILS_2_28
bool "2.28"
diff --git a/toolchain/binutils/Makefile.inc b/toolchain/binutils/Makefile.inc
index 0092d09..0257624 100644
--- a/toolchain/binutils/Makefile.inc
+++ b/toolchain/binutils/Makefile.inc
@@ -9,6 +9,13 @@ PKG_HASH:= 1b11659fb49e20e18db460d44485f09442c8c56d5df165de9461eb09c8302f85
PKG_SITES:= ${MASTER_SITE_GNU:=binutils/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
endif
+ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_34),y)
+PKG_VERSION:= 2.34
+PKG_RELEASE:= 1
+PKG_HASH:= f00b0e8803dc9bab1e2165bd568528135be734df3fabf8d0161828cd56028952
+PKG_SITES:= ${MASTER_SITE_GNU:=binutils/}
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+endif
ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_28),y)
PKG_VERSION:= 2.28
PKG_RELEASE:= 1