scripts: Update download locations

This change updates the download locations to default to the official
download site.

For gcc and gdb, also separate out the linaro download locations so that
if you are downloading the linaro variant, it skips trying to download
from the official gcc mirror.

This commit closes #3

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
libc/glibc: Add glibc-2.20

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
glibc: nptl is default from 2.20, so dont add to addons_list

No longer recommended practice to use --enable-add-ons=nptl, so
for 2.20 and later (along with custom glibc), don't add the
CT_THREADS to the addons_list

https://sourceware.org/glibc/wiki/Release/2.20#Packaging_Changes

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
Merge pull request #5 from davidholsgrove/glibc2.20_updates

Glibc 2.20 updates
gcc and gdb: fix fetching linaro builds

linaro_version and linaro_series are defined but not set if we are not
configured for linaro builds.

Therefore we need to default them to "" (null string).
As reported by @elsonwei

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
gcc: Update linaro 4.7 and 4.8

Update 4.7 to linaro-4.7-2014.06
Update 4.8 to linaro-4.8-2014.04

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
gcc: Update linaro 4.7 and 4.8 (Attempt 2)

I messed up the previous commit.
I only updated half the config file, and the latest 4.8 is 2014.08.

:facepalm:

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
gcc and gdb: fix fetching linaro builds (part two)

It's not my day.

linaro_version is a filter. If it is not a linaro toolchain, it will
just be CT_{CC,GDB}_VERSION. If it is a linaro toolchain, CT_{CC,GDB}_VERSION
will be prefixed with 'linaro-' and will not match linaro_version, as
linaro_version will just have the part after 'linaro-'.

This *really* fixes the issue :sigh:

Thanks again to @elsonwei for being right the first time!

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
gcc and gdb: fix fetching linaro builds (part three)

Yes, I missed the backslash which messed up the linaro stuff.
The more I look at this code, I feel it needs to be refactored a bit. So
I'll come back to this in the future and clean it up.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
gcc: The latest 'released' linaro 4.8 is 2014.04, not 08

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Merge remote-tracking branch 'origin/master'