summaryrefslogtreecommitdiff
path: root/scripts/build/binutils/binutils.sh
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-02-02 04:55:45 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-02-02 05:00:14 (GMT)
commit7b8d76ed5690c2e6490f35794726ffddf6e34ee4 (patch)
tree88f5d648df86ea7c91d2343633bec7cc07462e6e /scripts/build/binutils/binutils.sh
parentefd8225d2ae1745a6cc797323777dacb08430fca (diff)
scripts/*/*.sh: prioritize http downloads
Prirotize http downloads before ftp downloads. By having http download first, those using proxy will work with the current download mechnism. This tells me that that mechnism needs to be updated. (proxy support and/or kconfig toggles) closes #3 Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'scripts/build/binutils/binutils.sh')
-rw-r--r--scripts/build/binutils/binutils.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/binutils/binutils.sh b/scripts/build/binutils/binutils.sh
index 813d3ce..a23b94a 100644
--- a/scripts/build/binutils/binutils.sh
+++ b/scripts/build/binutils/binutils.sh
@@ -15,8 +15,8 @@ do_binutils_get() {
http://cbuild.validation.linaro.org/snapshots
else
CT_GetFile "binutils-${CT_BINUTILS_VERSION}" \
- ftp://{sourceware.org,gcc.gnu.org}/pub/binutils/{releases,snapshots} \
- {ftp,http}://{ftp.gnu.org/gnu,ftp.kernel.org/pub/linux/devel}/binutils
+ {http,ftp}://{ftp.gnu.org/gnu,ftp.kernel.org/pub/linux/devel}/binutils \
+ ftp://{sourceware.org,gcc.gnu.org}/pub/binutils/{releases,snapshots}
fi
fi