diff mbox

Latest linaro gcc

Message ID CAOfWMGAoosf9XD0i9JTC8jmBBFnRiiB+8yMftqTMwQheHXNRDg@mail.gmail.com
State New
Headers show

Commit Message

Daniel Rubio Bonilla Oct. 2, 2014, 12:05 p.m. UTC
1- Added the latest linaro gcc toolchains.
2- Added the new source code location.

Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
---
 config/cc/gcc.in        | 15 +++++++++++----
 scripts/build/cc/gcc.sh |  6 +++++-
 2 files changed, 16 insertions(+), 5 deletions(-)

      \
-
"${linaro_base_url}/${linaro_series}/${linaro_version}/+download"
+
"${linaro_base_url}/${linaro_series}/${linaro_version}/+download"
      \
+
http://releases.linaro.org/${linaro_cycle}/components/toolchain/gcc-linaro/${linaro_series}

     fi # ! custom location
     # Starting with GCC 4.3, ecj is used for Java, and will only be

Comments

Bryan Hundven Oct. 2, 2014, 3:02 p.m. UTC | #1
Daniel, Yann, List,

> On Oct 2, 2014, at 5:05 AM, Daniel Rubio Bonilla <danielrubiob@gmail.com> wrote:
> 
> 1- Added the latest linaro gcc toolchains.
> 2- Added the new source code location.
> 
> Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
> ---
> config/cc/gcc.in        | 15 +++++++++++----
> scripts/build/cc/gcc.sh |  6 +++++-
> 2 files changed, 16 insertions(+), 5 deletions(-)
> 
> diff --git a/config/cc/gcc.in b/config/cc/gcc.in
> index 5051804..37c7e13 100644
> --- a/config/cc/gcc.in
> +++ b/config/cc/gcc.in
> @@ -36,6 +36,12 @@ choice
> # Don't remove next line
> # CT_INSERT_VERSION_BELOW
> 
> +config CC_V_linaro_4_9
> +    bool
> +    prompt "linaro-4.9-2014.09"
> +    depends on CC_GCC_SHOW_LINARO
> +    select CC_GCC_4_9
> +
> config CC_V_4_9_1
>     bool
>     prompt "4.9.1"
> @@ -48,7 +54,7 @@ config CC_V_4_9_0
> 
> config CC_V_linaro_4_8
>     bool
> -    prompt "linaro-4.8-2014.01"
> +    prompt "linaro-4.8-2014.08"
>     depends on CC_GCC_SHOW_LINARO
>     select CC_GCC_4_8
> 
> @@ -74,7 +80,7 @@ config CC_V_4_8_0
> 
> config CC_V_linaro_4_7
>     bool
> -    prompt "linaro-4.7-2014.01"
> +    prompt "linaro-4.7-2014.06"
>     depends on CC_GCC_SHOW_LINARO
>     select CC_GCC_4_7
> 
> @@ -492,14 +498,15 @@ config CC_VERSION
>     string
> # Don't remove next line
> # CT_INSERT_VERSION_STRING_BELOW
> +    default "linaro-4.9-2014.09" if CC_V_linaro_4_9
>     default "4.9.1" if CC_V_4_9_1
>     default "4.9.0" if CC_V_4_9_0
> -    default "linaro-4.8-2014.01" if CC_V_linaro_4_8
> +    default "linaro-4.8-2014.08" if CC_V_linaro_4_8
>     default "4.8.3" if CC_V_4_8_3
>     default "4.8.2" if CC_V_4_8_2
>     default "4.8.1" if CC_V_4_8_1
>     default "4.8.0" if CC_V_4_8_0
> -    default "linaro-4.7-2014.01" if CC_V_linaro_4_7
> +    default "linaro-4.7-2014.06" if CC_V_linaro_4_7
>     default "4.7.4" if CC_V_4_7_4
>     default "4.7.3" if CC_V_4_7_3
>     default "4.7.2" if CC_V_4_7_2
> diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
> index 9dbc41e..b07d191 100644
> --- a/scripts/build/cc/gcc.sh
> +++ b/scripts/build/cc/gcc.sh
> @@ -18,6 +18,9 @@ do_cc_get() {
>         linaro_series="$( echo "${linaro_version}"      \
>                           |sed -r -e 's/-.*//;'         \
>                         )"
> +    linaro_cycle="$( echo "${linaro_version}"      \
> +                         | sed -r -e "s/^$linaro_series-20//;"   \
> +                       )"
> 
>         # Ah! gcc folks are kind of 'different': they store the tarballs in
>         # subdirectories of the same name!
> @@ -28,7 +31,8 @@ do_cc_get() {
> 
> {ftp,http}://ftp.gnu.org/gnu/gcc{,{,/releases}/gcc-${CT_CC_VERSION}}
>      \
> 
> ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-${CT_CC_VERSION}
> \
> 
> ftp://ftp.uvsq.fr/pub/gcc/snapshots/${CT_CC_VERSION}
>      \
> -
> "${linaro_base_url}/${linaro_series}/${linaro_version}/+download"
> +
> "${linaro_base_url}/${linaro_series}/${linaro_version}/+download"
>      \
> +
> http://releases.linaro.org/${linaro_cycle}/components/toolchain/gcc-linaro/${linaro_series}
> 
>     fi # ! custom location
>     # Starting with GCC 4.3, ecj is used for Java, and will only be
> -- 
> 1.9.1
> 
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
> 

https://sourceware.org/ml/crossgcc/2014-09/msg00029.html

Otherwise, it would be cool if you separated out the new download locations and added just that patch. :)

-Bryan
--
For unsubscribe information see http://sourceware.org/lists.html#faq
diff mbox

Patch

diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 5051804..37c7e13 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -36,6 +36,12 @@  choice
 # Don't remove next line
 # CT_INSERT_VERSION_BELOW

+config CC_V_linaro_4_9
+    bool
+    prompt "linaro-4.9-2014.09"
+    depends on CC_GCC_SHOW_LINARO
+    select CC_GCC_4_9
+
 config CC_V_4_9_1
     bool
     prompt "4.9.1"
@@ -48,7 +54,7 @@  config CC_V_4_9_0

 config CC_V_linaro_4_8
     bool
-    prompt "linaro-4.8-2014.01"
+    prompt "linaro-4.8-2014.08"
     depends on CC_GCC_SHOW_LINARO
     select CC_GCC_4_8

@@ -74,7 +80,7 @@  config CC_V_4_8_0

 config CC_V_linaro_4_7
     bool
-    prompt "linaro-4.7-2014.01"
+    prompt "linaro-4.7-2014.06"
     depends on CC_GCC_SHOW_LINARO
     select CC_GCC_4_7

@@ -492,14 +498,15 @@  config CC_VERSION
     string
 # Don't remove next line
 # CT_INSERT_VERSION_STRING_BELOW
+    default "linaro-4.9-2014.09" if CC_V_linaro_4_9
     default "4.9.1" if CC_V_4_9_1
     default "4.9.0" if CC_V_4_9_0
-    default "linaro-4.8-2014.01" if CC_V_linaro_4_8
+    default "linaro-4.8-2014.08" if CC_V_linaro_4_8
     default "4.8.3" if CC_V_4_8_3
     default "4.8.2" if CC_V_4_8_2
     default "4.8.1" if CC_V_4_8_1
     default "4.8.0" if CC_V_4_8_0
-    default "linaro-4.7-2014.01" if CC_V_linaro_4_7
+    default "linaro-4.7-2014.06" if CC_V_linaro_4_7
     default "4.7.4" if CC_V_4_7_4
     default "4.7.3" if CC_V_4_7_3
     default "4.7.2" if CC_V_4_7_2
diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh
index 9dbc41e..b07d191 100644
--- a/scripts/build/cc/gcc.sh
+++ b/scripts/build/cc/gcc.sh
@@ -18,6 +18,9 @@  do_cc_get() {
         linaro_series="$( echo "${linaro_version}"      \
                           |sed -r -e 's/-.*//;'         \
                         )"
+    linaro_cycle="$( echo "${linaro_version}"      \
+                         | sed -r -e "s/^$linaro_series-20//;"   \
+                       )"

         # Ah! gcc folks are kind of 'different': they store the tarballs in
         # subdirectories of the same name!
@@ -28,7 +31,8 @@  do_cc_get() {

{ftp,http}://ftp.gnu.org/gnu/gcc{,{,/releases}/gcc-${CT_CC_VERSION}}
      \

ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-${CT_CC_VERSION}
\

ftp://ftp.uvsq.fr/pub/gcc/snapshots/${CT_CC_VERSION}