diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-02-03 15:34:18 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-02-03 15:34:18 (GMT) |
commit | 6168aff98d9a3f327c376f2fe83367e0b2b62360 (patch) | |
tree | ad6a4e0c79a1a330352c9f3a4b120df138d37285 /scripts/build/libc | |
parent | f4788fd57d355458c2041f002222c445b04e3602 (diff) | |
parent | 7b8d76ed5690c2e6490f35794726ffddf6e34ee4 (diff) |
Merge pull request #40 from bhundven/download_http_first
scripts/*/*.sh: prioritize http downloads
Diffstat (limited to 'scripts/build/libc')
-rw-r--r-- | scripts/build/libc/glibc.sh | 1 | ||||
-rw-r--r-- | scripts/build/libc/newlib.sh | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index 971d326..a064c49 100644 --- a/scripts/build/libc/glibc.sh +++ b/scripts/build/libc/glibc.sh @@ -50,6 +50,7 @@ do_libc_get() { esac if ! CT_GetFile "glibc-${addon}-${CT_LIBC_VERSION}" \ + http://mirrors.kernel.org/sourceware/glibc \ {http,ftp,https}://ftp.gnu.org/gnu/glibc \ ftp://{sourceware.org,gcc.gnu.org}/pub/glibc/{releases,snapshots} then diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh index 9d42035..af04a6d 100644 --- a/scripts/build/libc/newlib.sh +++ b/scripts/build/libc/newlib.sh @@ -10,7 +10,8 @@ LIBC_NEWLIB_AVR_HDRS_BASE="avr-headers-3.2.3.970" LIBC_NEWLIB_AVR_HDRS_EXT=".zip" do_libc_get() { - local libc_src="ftp://sourceware.org/pub/newlib" + local libc_src="{http://mirrors.kernel.org/sourceware/newlib, + ftp://sourceware.org/pub/newlib}" if [ "${CT_LIBC_NEWLIB_CUSTOM}" = "y" ]; then CT_GetCustom "newlib" "${CT_LIBC_VERSION}" \ |