scripts/build/debug.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jun 27 14:55:22 2008 +0000 (2008-06-27)
changeset 630 2789bdd1a950
parent 479 05c62432ec19
child 916 68af6b83ff7e
permissions -rw-r--r--
Update the architecture API: architecture help is mandatory.
Update all architectures (some with pointer to the specs, when available).

/trunk/docs/overview.txt | 8 8 0 0 ++++++++
/trunk/arch/arm/config.in | 3 3 0 0 +++
/trunk/arch/powerpc/config.in | 3 3 0 0 +++
/trunk/arch/ia64/config.in | 3 3 0 0 +++
/trunk/arch/alpha/config.in | 2 2 0 0 ++
/trunk/arch/x86/config.in | 3 3 0 0 +++
/trunk/arch/mips/config.in | 3 3 0 0 +++
/trunk/arch/sh/config.in | 3 3 0 0 +++
/trunk/arch/x86_64/config.in | 3 3 0 0 +++
9 files changed, 31 insertions(+)
     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