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(-)
1 # Build script for libelf
3 is_enabled="${CT_LIBELF}"
6 [ "{CT_LIBELF}" = "y" ] || return 0
7 echo "libelf-${CT_LIBELF_VERSION}"
10 do_tools_libelf_get() {
11 # The server hosting libelf will return an "HTTP 300 : Multiple Choices"
12 # error code if we try to download a file that does not exists there.
13 # So we have to request the file with an explicit extension.
14 CT_GetFile "libelf-${CT_LIBELF_VERSION}" .tar.gz http://www.mr511.de/software/
17 do_tools_libelf_extract() {
18 CT_ExtractAndPatch "libelf-${CT_LIBELF_VERSION}"
21 do_tools_libelf_build() {
22 CT_DoStep INFO "Installing libelf"
23 mkdir -p "${CT_BUILD_DIR}/build-libelf"
24 CT_Pushd "${CT_BUILD_DIR}/build-libelf"
26 CT_DoLog EXTRA "Configuring libelf"
27 CC="${CT_TARGET}-gcc" \
28 "${CT_SRC_DIR}/libelf-${CT_LIBELF_VERSION}/configure" \
31 --target=${CT_TARGET} \
36 --enable-extended-format \
37 --enable-static 2>&1 |CT_DoLog ALL
39 CT_DoLog EXTRA "Building libelf"
40 make 2>&1 |CT_DoLog ALL
42 CT_DoLog EXTRA "Installing libelf"
43 make instroot="${CT_SYSROOT_DIR}" install 2>&1 |CT_DoLog ALL