[PATCH] toolchain: binutils: Use version 2.34 by default

Rosen Penev rosenp at gmail.com
Fri Jul 17 18:16:32 EDT 2020


On Fri, Jul 17, 2020 at 2:53 PM Hauke Mehrtens <hauke at 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 at hauke-m.de>
Acked-by: Rosen Penev <rosenp at 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 at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list