Introduce a new option to render (or not) uClibc' build verbose.
/trunk/scripts/build/libc_uClibc.sh | 6 4 2 0 ++++--
/trunk/config/libc/uClibc.in | 23 23 0 0 +++++++++++++++++++++++
2 files changed, 27 insertions(+), 2 deletions(-)
1.1 --- a/config/libc/uClibc.in Wed May 14 17:49:52 2008 +0000
1.2 +++ b/config/libc/uClibc.in Wed May 14 17:52:53 2008 +0000
1.3 @@ -59,6 +59,29 @@
1.4
1.5 choice
1.6 bool
1.7 + prompt "uClibc verbosity:"
1.8 +
1.9 +config LIBC_UCLIBC_VERBOSITY_0
1.10 + bool
1.11 + prompt "Simplified"
1.12 + help
1.13 + Print simplified command lines.
1.14 +
1.15 +config LIBC_UCLIBC_VERBOSITY_1
1.16 + bool
1.17 + prompt "Full commands"
1.18 + help
1.19 + Print full command lines.
1.20 +
1.21 +endchoice
1.22 +
1.23 +config LIBC_UCLIBC_VERBOSITY
1.24 + string
1.25 + default "" if LIBC_UCLIBC_VERBOSITY_0
1.26 + default "V=1" if LIBC_UCLIBC_VERBOSITY_1
1.27 +
1.28 +choice
1.29 + bool
1.30 prompt "Debug level"
1.31 default LIBC_UCLIBC_DEBUG_LEVEL_0
1.32
2.1 --- a/scripts/build/libc_uClibc.sh Wed May 14 17:49:52 2008 +0000
2.2 +++ b/scripts/build/libc_uClibc.sh Wed May 14 17:52:53 2008 +0000
2.3 @@ -75,10 +75,10 @@
2.4 CT_DoYes "" |make CROSS= PREFIX="${CT_SYSROOT_DIR}/" oldconfig 2>&1 |CT_DoLog ALL
2.5
2.6 CT_DoLog EXTRA "Building headers"
2.7 - make CROSS= PREFIX="${CT_SYSROOT_DIR}/" headers 2>&1 |CT_DoLog ALL
2.8 + make ${CT_LIBC_UCLIBC_VERBOSITY} CROSS= PREFIX="${CT_SYSROOT_DIR}/" headers 2>&1 |CT_DoLog ALL
2.9
2.10 CT_DoLog EXTRA "Installing headers"
2.11 - make CROSS= PREFIX="${CT_SYSROOT_DIR}/" install_dev 2>&1 |CT_DoLog ALL
2.12 + make ${CT_LIBC_UCLIBC_VERBOSITY} CROSS= PREFIX="${CT_SYSROOT_DIR}/" install_dev 2>&1 |CT_DoLog ALL
2.13
2.14 CT_EndStep
2.15 }
2.16 @@ -120,6 +120,7 @@
2.17 make CROSS=${CT_TARGET}- \
2.18 PREFIX="${CT_SYSROOT_DIR}/" \
2.19 STRIPTOOL=true \
2.20 + ${CT_LIBC_UCLIBC_VERBOSITY} \
2.21 all 2>&1 |CT_DoLog ALL
2.22
2.23 # YEM-FIXME: we want to install libraries in $SYSROOT/lib, but we don't want
2.24 @@ -134,6 +135,7 @@
2.25 make CROSS=${CT_TARGET}- \
2.26 PREFIX="${CT_SYSROOT_DIR}/" \
2.27 STRIPTOOL=true \
2.28 + ${CT_LIBC_UCLIBC_VERBOSITY} \
2.29 install 2>&1 |CT_DoLog ALL
2.30
2.31 CT_EndStep