[openwrt/openwrt] toolchain: binutils: Use version 2.34 by default

LEDE Commits lede-commits at lists.infradead.org
Thu Jul 23 18:36:49 EDT 2020


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/54124e1e1cd6a371057626c559e9cc718d24a46d

commit 54124e1e1cd6a371057626c559e9cc718d24a46d
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Fri Jul 17 22:53:11 2020 +0200

    toolchain: binutils: Use version 2.34 by default
    
    Switch to binutils version 2.34 for all CPUs by default. The ARC CPUs
    do not need any special binutils version any more.
    
    This increases the image size by 0.2% on MIPS (lantiq)
    
    Tested on lantiq, ipq40xx
    
    Acked-by: Rosen Penev <rosenp at gmail.com>
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 toolchain/binutils/Config.in      | 3 +--
 toolchain/binutils/Config.version | 4 +---
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/toolchain/binutils/Config.in b/toolchain/binutils/Config.in
index 4ae0b57572..e9b2d30422 100644
--- a/toolchain/binutils/Config.in
+++ b/toolchain/binutils/Config.in
@@ -2,8 +2,7 @@
 
 choice
 	prompt "Binutils Version" if TOOLCHAINOPTS
-	default BINUTILS_USE_VERSION_2_31_1 if !arc
-	default BINUTILS_USE_VERSION_2_32 if arc
+	default BINUTILS_USE_VERSION_2_34
 	help
 	  Select the version of binutils you wish to use.
 
diff --git a/toolchain/binutils/Config.version b/toolchain/binutils/Config.version
index 7c3519680d..e7924f89c3 100644
--- a/toolchain/binutils/Config.version
+++ b/toolchain/binutils/Config.version
@@ -2,15 +2,13 @@ config BINUTILS_VERSION_2_29_1
 	bool
 
 config BINUTILS_VERSION_2_31_1
-	default y if (!TOOLCHAINOPTS && !arc)
 	bool
 
 config BINUTILS_VERSION_2_32
-	default y if (!TOOLCHAINOPTS && arc)
 	bool
 
 config BINUTILS_VERSION_2_34
-	default y if (!TOOLCHAINOPTS && arc)
+	default y if !TOOLCHAINOPTS
 	bool
 
 config BINUTILS_VERSION



More information about the lede-commits mailing list