diff mbox series

toolchain: binutils: Use version 2.34 by default

Message ID 20200717215038.19835-1-hauke@hauke-m.de
State Accepted
Delegated to: Hauke Mehrtens
Headers show
Series toolchain: binutils: Use version 2.34 by default | expand

Commit Message

Hauke Mehrtens July 17, 2020, 9:50 p.m. UTC
Switch to binutils version 2.34 for all CPUs by default. The ARC CPUs
do not need any sepcial binutils version any more.

Tested on lantiq, ipq40xx

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 toolchain/binutils/Config.in      | 3 +--
 toolchain/binutils/Config.version | 4 +---
 2 files changed, 2 insertions(+), 5 deletions(-)

Comments

Rosen Penev July 17, 2020, 10:16 p.m. UTC | #1
On Fri, Jul 17, 2020 at 2:53 PM Hauke Mehrtens <hauke@hauke-m.de> wrote:
>
> Switch to binutils version 2.34 for all CPUs by default. The ARC CPUs
> do not need any sepcial binutils version any more.
>
> Tested on lantiq, ipq40xx
>
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Rosen Penev <rosenp@gmail.com>

I've been using this since it was made available on mvebu and ath79.
No issues to report.
> ---
>  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 4ae0b5757235..e9b2d3042293 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 7c3519680d10..e7924f89c378 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
> --
> 2.20.1
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
diff mbox series

Patch

diff --git a/toolchain/binutils/Config.in b/toolchain/binutils/Config.in
index 4ae0b5757235..e9b2d3042293 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 7c3519680d10..e7924f89c378 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