aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/debug
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-02-01 20:55:45 -0800
committerBryan Hundven <bryanhundven@gmail.com>2015-02-01 21:00:14 -0800
commit7b8d76ed5690c2e6490f35794726ffddf6e34ee4 (patch)
tree88f5d648df86ea7c91d2343633bec7cc07462e6e /scripts/build/debug
parentefd8225d2ae1745a6cc797323777dacb08430fca (diff)
downloadcrosstool-ng-7b8d76ed5690c2e6490f35794726ffddf6e34ee4.tar.gz
crosstool-ng-7b8d76ed5690c2e6490f35794726ffddf6e34ee4.tar.bz2
crosstool-ng-7b8d76ed5690c2e6490f35794726ffddf6e34ee4.zip
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/debug')
-rw-r--r--scripts/build/debug/300-gdb.sh5
-rw-r--r--scripts/build/debug/400-ltrace.sh2
2 files changed, 4 insertions, 3 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
index 8fed3d0b..4eee2147 100644
--- a/scripts/build/debug/300-gdb.sh
+++ b/scripts/build/debug/300-gdb.sh
@@ -52,8 +52,9 @@ do_debug_gdb_get() {
if [ x"${linaro_version}" = x"${CT_GDB_VERSION}" ]; then
CT_GetFile "gdb-${CT_GDB_VERSION}" \
- ftp://{sourceware.org,gcc.gnu.org}/pub/gdb/releases \
- {http,ftp,https}://ftp.gnu.org/pub/gnu/gdb
+ http://mirrors.kernel.org/sourceware/gdb \
+ {http,ftp,https}://ftp.gnu.org/pub/gnu/gdb \
+ ftp://{sourceware.org,gcc.gnu.org}/pub/gdb/releases
else
YYMM=`echo ${CT_GDB_VERSION} |cut -d- -f3 |${sed} -e 's,^..,,'`
CT_GetFile "gdb-${CT_GDB_VERSION}" \
diff --git a/scripts/build/debug/400-ltrace.sh b/scripts/build/debug/400-ltrace.sh
index 01e80819..56f25800 100644
--- a/scripts/build/debug/400-ltrace.sh
+++ b/scripts/build/debug/400-ltrace.sh
@@ -2,7 +2,7 @@
do_debug_ltrace_get() {
CT_GetFile "ltrace_${CT_LTRACE_VERSION}.orig" .tar.gz \
- {ftp,http}://ftp.debian.org/debian/pool/main/l/ltrace/
+ {http,ftp}://ftp.debian.org/debian/pool/main/l/ltrace/
# Create a link so that the following steps are easier to do:
CT_Pushd "${CT_TARBALLS_DIR}"
ltrace_ext=$(CT_GetFileExtension "ltrace_${CT_LTRACE_VERSION}.orig")