scripts/build/tools.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 24 16:24:09 2008 +0000 (2008-06-24)
changeset 611 eac4dc8da8a9
parent 479 05c62432ec19
child 916 68af6b83ff7e
permissions -rw-r--r--
New patches from Ioannis E. VENETIS to allow building more up-to-date Alpha x-compilers.
Some patches are still missing, though.
See: http://sourceware.org/ml/libc-help/2008-06/msg00061.html

/trunk/patches/glibc/2.5.1/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5.1/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/2.5/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/linuxthreads-2.3.6/270-glibc-linuxthreads-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/gcc/4.2.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.2/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.3/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
11 files changed, 225 insertions(+)
yann@148
     1
# Wrapper to build the tools facilities
yann@148
     2
yann@148
     3
# List all tools facilities, and parse their scripts
yann@148
     4
CT_TOOLS_FACILITY_LIST=
yann@182
     5
for f in "${CT_LIB_DIR}/scripts/build/tools/"*.sh; do
yann@148
     6
    is_enabled=
yann@148
     7
    . "${f}"
yann@483
     8
    f=$(basename "${f}" .sh)
yann@148
     9
    if [ "${is_enabled}" = "y" ]; then
yann@483
    10
        CT_TOOLS_FACILITY_LIST="${CT_TOOLS_FACILITY_LIST} ${f#???-}"
yann@148
    11
    fi
yann@148
    12
done
yann@148
    13
yann@148
    14
# Download the tools facilities
yann@148
    15
do_tools_get() {
yann@148
    16
    for f in ${CT_TOOLS_FACILITY_LIST}; do
yann@148
    17
        do_tools_${f}_get
yann@148
    18
    done
yann@148
    19
}
yann@148
    20
yann@148
    21
# Extract and patch the tools facilities
yann@148
    22
do_tools_extract() {
yann@148
    23
    for f in ${CT_TOOLS_FACILITY_LIST}; do
yann@148
    24
        do_tools_${f}_extract
yann@148
    25
    done
yann@148
    26
}
yann@148
    27
yann@148
    28
# Build the tools facilities
yann@148
    29
do_tools() {
yann@148
    30
    for f in ${CT_TOOLS_FACILITY_LIST}; do
yann@148
    31
        do_tools_${f}_build
yann@148
    32
    done
yann@148
    33
}
yann@148
    34