scripts/build/debug.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jun 30 21:41:32 2008 +0000 (2008-06-30)
changeset 636 92f2e82084cd
parent 479 05c62432ec19
child 916 68af6b83ff7e
permissions -rw-r--r--
Update samples to the latest architecture framework.

/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 57 32 25 0 +++++++-----
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 60 34 26 0 +++++++------
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 43 23 20 0 +++++----
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 57 32 25 0 +++++++-----
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 46 26 20 0 ++++++----
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 56 30 26 0 ++++++------
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 43 23 20 0 +++++----
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 53 27 26 0 ++++++-----
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 43 23 20 0 +++++----
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 49 29 20 0 ++++++-----
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 51 26 25 0 ++++++-----
/trunk/samples/i686-nptl-linux-gnu/crosstool.config | 43 23 20 0 +++++----
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 44 21 23 0 ++++------
13 files changed, 349 insertions(+), 296 deletions(-)
     1 # Wrapper to build the debug facilities
     2 
     3 # List all debug facilities, and parse their scripts
     4 CT_DEBUG_FACILITY_LIST=
     5 for f in "${CT_LIB_DIR}/scripts/build/debug/"*.sh; do
     6     is_enabled=
     7     . "${f}"
     8     f=$(basename "${f}" .sh)
     9     if [ "${is_enabled}" = "y" ]; then
    10         CT_DEBUG_FACILITY_LIST="${CT_DEBUG_FACILITY_LIST} ${f#???-}"
    11     fi
    12 done
    13 
    14 # Download the debug facilities
    15 do_debug_get() {
    16     for f in ${CT_DEBUG_FACILITY_LIST}; do
    17         do_debug_${f}_get
    18     done
    19 }
    20 
    21 # Extract and patch the debug facilities
    22 do_debug_extract() {
    23     for f in ${CT_DEBUG_FACILITY_LIST}; do
    24         do_debug_${f}_extract
    25     done
    26 }
    27 
    28 # Build the debug facilities
    29 do_debug() {
    30     for f in ${CT_DEBUG_FACILITY_LIST}; do
    31         do_debug_${f}_build
    32     done
    33 }
    34