scripts/build/debug/500-strace.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat May 03 17:51:16 2008 +0000 (2008-05-03)
changeset 486 92f6149c4275
child 669 ca740b4c4262
permissions -rw-r--r--
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(-)
yann@479
     1
# Build script for strace
yann@479
     2
yann@479
     3
is_enabled="${CT_STRACE}"
yann@479
     4
yann@479
     5
do_print_filename() {
yann@479
     6
    [ "${CT_STRACE}" = "y" ] || return 0
yann@479
     7
    echo "strace-${CT_STRACE_VERSION}"
yann@479
     8
}
yann@479
     9
yann@479
    10
do_debug_strace_get() {
yann@479
    11
    CT_GetFile "strace-${CT_STRACE_VERSION}" http://mesh.dl.sourceforge.net/sourceforge/strace/
yann@479
    12
}
yann@479
    13
yann@479
    14
do_debug_strace_extract() {
yann@479
    15
    CT_ExtractAndPatch "strace-${CT_STRACE_VERSION}"
yann@479
    16
}
yann@479
    17
yann@479
    18
do_debug_strace_build() {
yann@479
    19
    CT_DoStep INFO "Installing strace"
yann@479
    20
    mkdir -p "${CT_BUILD_DIR}/build-strace"
yann@479
    21
    CT_Pushd "${CT_BUILD_DIR}/build-strace"
yann@479
    22
yann@479
    23
    CT_DoLog EXTRA "Configuring strace"
yann@479
    24
    "${CT_SRC_DIR}/strace-${CT_STRACE_VERSION}/configure"   \
yann@479
    25
        --build=${CT_BUILD}                                 \
yann@479
    26
        --host=${CT_TARGET}                                 \
yann@479
    27
        --prefix=/usr                                       2>&1 |CT_DoLog ALL
yann@479
    28
yann@479
    29
    CT_DoLog EXTRA "Building strace"
yann@479
    30
    make    2>&1 |CT_DoLog ALL
yann@479
    31
yann@479
    32
    CT_DoLog EXTRA "Installing strace"
yann@479
    33
    make DESTDIR="${CT_DEBUG_INSTALL_DIR}" install  2>&1 |CT_DoLog ALL
yann@479
    34
yann@479
    35
    CT_Popd
yann@479
    36
    CT_EndStep
yann@479
    37
}
yann@479
    38