Print a log message when entering/leaving the two core compiler passes.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 02 09:26:57 2007 +0000 (2007-09-02)
changeset 354cf673077c0c1
parent 353 3e55465915d2
child 355 42871dce9ced
Print a log message when entering/leaving the two core compiler passes.
scripts/build/cc_gcc.sh
     1.1 --- a/scripts/build/cc_gcc.sh	Sun Sep 02 09:24:15 2007 +0000
     1.2 +++ b/scripts/build/cc_gcc.sh	Sun Sep 02 09:26:57 2007 +0000
     1.3 @@ -31,20 +31,24 @@
     1.4  do_cc_core_pass_1() {
     1.5      # In case we're NPTL, build the static core gcc;
     1.6      # in any other case, do nothing.
     1.7 +    CT_DoStep INFO "Core C compiler, pass 1"
     1.8      case "${CT_THREADS}" in
     1.9          nptl)   do_cc_core_static;;
    1.10 -        *)      ;;
    1.11 +        *)      CT_DoLog INFO "Nothing to do";;
    1.12      esac
    1.13 +    CT_EndStep
    1.14  }
    1.15  
    1.16  # Core gcc pass 2
    1.17  do_cc_core_pass_2() {
    1.18      # In case we're NPTL, build the shared core gcc,
    1.19      # in any other case, build the static core gcc.
    1.20 +    CT_DoStep INFO "Core C compiler, pass 2"
    1.21      case "${CT_THREADS}" in
    1.22          nptl)   do_cc_core_shared;;
    1.23          *)      do_cc_core_static;;
    1.24      esac
    1.25 +    CT_EndStep
    1.26  }
    1.27  
    1.28  #------------------------------------------------------------------------------