summaryrefslogtreecommitdiff
path: root/scripts/build/companion_libs/100-gmp.sh
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2014-12-08 23:03:08 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2014-12-08 23:03:08 (GMT)
commit79422633cf2d0282ed2d637d2ba237cc3f4e6a8e (patch)
treeab8bf93a3d7e9217bb21fe8c9cd94b083653085e /scripts/build/companion_libs/100-gmp.sh
parent098c87e98aa0c4b07a632173ddfd72c93df49aad (diff)
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>
Diffstat (limited to 'scripts/build/companion_libs/100-gmp.sh')
-rw-r--r--scripts/build/companion_libs/100-gmp.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build/companion_libs/100-gmp.sh b/scripts/build/companion_libs/100-gmp.sh
index 8674f16..beb75ea 100644
--- a/scripts/build/companion_libs/100-gmp.sh
+++ b/scripts/build/companion_libs/100-gmp.sh
@@ -12,7 +12,9 @@ if [ "${CT_GMP}" = "y" ]; then
# Download GMP
do_gmp_get() {
- CT_GetFile "gmp-${CT_GMP_VERSION}" {ftp,http}://{ftp.sunet.se/pub,ftp.gnu.org}/gnu/gmp
+ CT_GetFile "gmp-${CT_GMP_VERSION}" \
+ https://gmplib.org/download/gmp \
+ {http,ftp,https}://ftp.gnu.org/gnu/gmp
}
# Extract GMP