diff options
| author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-03 17:51:16 +0000 |
|---|---|---|
| committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-03 17:51:16 +0000 |
| commit | 1b9a490601f086f9b7e5826c747d8b59cfad80c8 (patch) | |
| tree | 241093950790317a0111ebbea0a4c5b09f29d913 /scripts/build/kernel_linux.sh | |
| parent | 266acfa4964803c4fc4ddd8edc015fd0a0ad51f2 (diff) | |
| download | crosstool-ng-1b9a490601f086f9b7e5826c747d8b59cfad80c8.tar.gz crosstool-ng-1b9a490601f086f9b7e5826c747d8b59cfad80c8.tar.bz2 crosstool-ng-1b9a490601f086f9b7e5826c747d8b59cfad80c8.zip | |
Some people are reposrting that ftp does not work on their network, probably due to proxies, while http does work.
Some (most) of the sites we use toretrieve tarballs have http equivallent for the ftp service. Use http as a failover.
There's no solution for those sites that do not have such an http equivalent.
/trunk/scripts/build/binutils.sh | 5 2 3 0 ++---
/trunk/scripts/build/libc_glibc.sh | 4 2 2 0 ++--
/trunk/scripts/build/libc_uClibc.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/300-gdb.sh | 8 3 5 0 +++-----
/trunk/scripts/build/kernel_linux.sh | 7 2 5 0 ++-----
/trunk/scripts/build/cc_gcc.sh | 6 2 4 0 ++----
/trunk/scripts/build/gmp.sh | 4 1 3 0 +---
8 files changed, 14 insertions(+), 24 deletions(-)
Diffstat (limited to 'scripts/build/kernel_linux.sh')
| -rw-r--r-- | scripts/build/kernel_linux.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/build/kernel_linux.sh b/scripts/build/kernel_linux.sh index a272b1f3..07005e0c 100644 --- a/scripts/build/kernel_linux.sh +++ b/scripts/build/kernel_linux.sh @@ -13,11 +13,8 @@ do_print_filename() { # Download the kernel do_kernel_get() { if [ "${CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR}" != "y" ]; then - CT_GetFile "${CT_KERNEL_FILE}" \ - ftp://ftp.kernel.org/pub/linux/kernel/v2.6 \ - ftp://ftp.kernel.org/pub/linux/kernel/v2.4 \ - ftp://ftp.kernel.org/pub/linux/kernel/v2.2 \ - ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing \ + CT_GetFile "${CT_KERNEL_FILE}" \ + {ftp,http}://ftp.kernel.org/pub/linux/kernel/v2.{6{,/testing},4,2} \ http://ep09.pld-linux.org/~mmazur/linux-libc-headers fi return 0 |
