From b3dddb0a787352bb836ce972e4f07b59d79068e7 Mon Sep 17 00:00:00 2001 From: Laurent GONZALEZ Date: Thu, 31 May 2018 13:21:33 +0000 Subject: [PATCH] package/binutils: default to 2.28 for Cortex-M targets binutils 2.29 changed the implementation of adr pseudo instruction it breaks linux kernel and impacts Cortex-M targets (eg. stm32) [Peter: simplify Config.in logic, adjust message to make it clear this is just a default] Signed-off-by: Laurent GONZALEZ Signed-off-by: Christophe Priouzeau Signed-off-by: Peter Korsgaard (cherry picked from commit 17f352acdebd4a825903807f8a2d60ebea223afb) Signed-off-by: Peter Korsgaard --- package/binutils/Config.in.host | 1 + 1 file changed, 1 insertion(+) diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host index d4ed1e3183..c41be82969 100644 --- a/package/binutils/Config.in.host +++ b/package/binutils/Config.in.host @@ -2,6 +2,7 @@ comment "Binutils Options" choice prompt "Binutils Version" + default BR2_BINUTILS_VERSION_2_28_X if BR2_ARM_CPU_ARMV7M default BR2_BINUTILS_VERSION_2_29_X if !BR2_arc default BR2_BINUTILS_VERSION_ARC if BR2_arc help