Use CT_DoExecLog when building uClibc.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jul 14 15:48:51 2008 +0000 (2008-07-14)
changeset 66174e8be702b1d
parent 660 a2ee90025387
child 662 81b5e61e07b2
Use CT_DoExecLog when building uClibc.

/trunk/scripts/build/libc_uClibc.sh | 19 11 8 0 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
scripts/build/libc_uClibc.sh
     1.1 --- a/scripts/build/libc_uClibc.sh	Mon Jul 14 15:42:27 2008 +0000
     1.2 +++ b/scripts/build/libc_uClibc.sh	Mon Jul 14 15:48:51 2008 +0000
     1.3 @@ -72,13 +72,13 @@
     1.4      # use of the native build host tools, which we need at this
     1.5      # stage, as we don't have target tools yet.
     1.6      CT_DoLog EXTRA "Applying configuration"
     1.7 -    CT_DoYes "" |make CROSS= PREFIX="${CT_SYSROOT_DIR}/" oldconfig 2>&1 |CT_DoLog ALL
     1.8 +    CT_DoYes "" |CT_DoExecLog ALL make CROSS= PREFIX="${CT_SYSROOT_DIR}/" oldconfig
     1.9  
    1.10      CT_DoLog EXTRA "Building headers"
    1.11 -    make ${CT_LIBC_UCLIBC_VERBOSITY} CROSS= PREFIX="${CT_SYSROOT_DIR}/" headers 2>&1 |CT_DoLog ALL
    1.12 +    CT_DoExecLog ALL make ${CT_LIBC_UCLIBC_VERBOSITY} CROSS= PREFIX="${CT_SYSROOT_DIR}/" headers
    1.13  
    1.14      CT_DoLog EXTRA "Installing headers"
    1.15 -    make ${CT_LIBC_UCLIBC_VERBOSITY} CROSS= PREFIX="${CT_SYSROOT_DIR}/" install_dev 2>&1 |CT_DoLog ALL
    1.16 +    CT_DoExecLog ALL make ${CT_LIBC_UCLIBC_VERBOSITY} CROSS= PREFIX="${CT_SYSROOT_DIR}/" install_dev
    1.17  
    1.18      CT_EndStep
    1.19  }
    1.20 @@ -110,18 +110,20 @@
    1.21      # to best fit the target. So it is useless and seems to be a bad thing to
    1.22      # use LIBC_EXTRA_CFLAGS here.
    1.23      CT_DoLog EXTRA "Applying configuration"
    1.24 -    CT_DoYes "" |make CROSS=${CT_TARGET}-           \
    1.25 -                      PREFIX="${CT_SYSROOT_DIR}/"   \
    1.26 -                      oldconfig                     2>&1 |CT_DoLog ALL
    1.27 +    CT_DoYes "" |CT_DoExecLog ALL               \
    1.28 +                 make CROSS=${CT_TARGET}-       \
    1.29 +                 PREFIX="${CT_SYSROOT_DIR}/"    \
    1.30 +                 oldconfig
    1.31  
    1.32      # We do _not_ want to strip anything for now, in case we specifically
    1.33      # asked for a debug toolchain, thus the STRIPTOOL= assignment
    1.34      CT_DoLog EXTRA "Building C library"
    1.35 +    CT_DoExecLog ALL                    \
    1.36      make CROSS=${CT_TARGET}-            \
    1.37           PREFIX="${CT_SYSROOT_DIR}/"    \
    1.38           STRIPTOOL=true                 \
    1.39           ${CT_LIBC_UCLIBC_VERBOSITY}    \
    1.40 -         all                            2>&1 |CT_DoLog ALL
    1.41 +         all
    1.42  
    1.43      # YEM-FIXME: we want to install libraries in $SYSROOT/lib, but we don't want
    1.44      # to install headers in $SYSROOT/include, thus making only install_runtime.
    1.45 @@ -132,11 +134,12 @@
    1.46      # We do _not_ want to strip anything for now, in case we specifically
    1.47      # asked for a debug toolchain, thus the STRIPTOOL= assignment
    1.48      CT_DoLog EXTRA "Installing C library"
    1.49 +    CT_DoExecLog ALL                    \
    1.50      make CROSS=${CT_TARGET}-            \
    1.51           PREFIX="${CT_SYSROOT_DIR}/"    \
    1.52           STRIPTOOL=true                 \
    1.53           ${CT_LIBC_UCLIBC_VERBOSITY}    \
    1.54 -         install                        2>&1 |CT_DoLog ALL
    1.55 +         install
    1.56  
    1.57      CT_EndStep
    1.58  }