瀏覽代碼

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 <br22@gezedo.com>
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 17f352acdebd4a825903807f8a2d60ebea223afb)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Laurent GONZALEZ 7 年之前
父節點
當前提交
b3dddb0a78
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      package/binutils/Config.in.host

+ 1 - 0
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