summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-10-03 19:13:50 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-10-03 19:13:50 +0200
commitff7300738603120d353c8398c4b911d813393522 (patch)
treeac8a8fa743dafc55b946ff01e0776c11ff02acc5 /target
parent3f825016f9fc0eb3c1d6d1e2526756c34a4dc534 (diff)
binutils 2.29 seems to break Linux kernel in thumb2 only mode, fallback to 2.28
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.binutils5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/config/Config.in.binutils b/target/config/Config.in.binutils
index 9142c2d79..a23f80f19 100644
--- a/target/config/Config.in.binutils
+++ b/target/config/Config.in.binutils
@@ -7,6 +7,7 @@ default ADK_TOOLCHAIN_BINUTILS_ARC if ADK_TARGET_ARCH_ARC
default ADK_TOOLCHAIN_BINUTILS_CSKY if ADK_TARGET_ARCH_CSKY
default ADK_TOOLCHAIN_BINUTILS_NDS32 if ADK_TARGET_ARCH_NDS32
default ADK_TOOLCHAIN_BINUTILS_2_20_1 if ADK_TARGET_ARCH_AVR32
+default ADK_TOOLCHAIN_BINUTILS_2_28 if ADK_TARGET_ARCH_ARM && ADK_KERNEL_THUMB2_KERNEL
default ADK_TOOLCHAIN_BINUTILS_2_28 if ADK_TARGET_CPU_SH_J2
default ADK_TOOLCHAIN_BINUTILS_2_29
@@ -21,11 +22,13 @@ config ADK_TOOLCHAIN_BINUTILS_2_29
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_CSKY
depends on !ADK_TARGET_ARCH_NDS32
+ depends on !(ADK_TARGET_ARCH_ARM && ADK_KERNEL_THUMB2_KERNEL)
depends on !ADK_TARGET_CPU_SH_J2
config ADK_TOOLCHAIN_BINUTILS_2_28
bool "2.28"
- depends on ADK_TARGET_CPU_SH_J2
+ depends on ADK_TARGET_CPU_SH_J2 \
+ || (ADK_TARGET_ARCH_ARM && ADK_KERNEL_THUMB2_KERNEL)
config ADK_TOOLCHAIN_BINUTILS_NDS32
bool "2.24-nds32"