summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/libc/uClibc.in23
-rw-r--r--scripts/build/libc_uClibc.sh6
2 files changed, 27 insertions, 2 deletions
diff --git a/config/libc/uClibc.in b/config/libc/uClibc.in
index 4f9943d..f0ab25e 100644
--- a/config/libc/uClibc.in
+++ b/config/libc/uClibc.in
@@ -59,6 +59,29 @@ config LIBC_VERSION
choice
bool
+ prompt "uClibc verbosity:"
+
+config LIBC_UCLIBC_VERBOSITY_0
+ bool
+ prompt "Simplified"
+ help
+ Print simplified command lines.
+
+config LIBC_UCLIBC_VERBOSITY_1
+ bool
+ prompt "Full commands"
+ help
+ Print full command lines.
+
+endchoice
+
+config LIBC_UCLIBC_VERBOSITY
+ string
+ default "" if LIBC_UCLIBC_VERBOSITY_0
+ default "V=1" if LIBC_UCLIBC_VERBOSITY_1
+
+choice
+ bool
prompt "Debug level"
default LIBC_UCLIBC_DEBUG_LEVEL_0
diff --git a/scripts/build/libc_uClibc.sh b/scripts/build/libc_uClibc.sh
index 1add33f..42ac5d9 100644
--- a/scripts/build/libc_uClibc.sh
+++ b/scripts/build/libc_uClibc.sh
@@ -75,10 +75,10 @@ do_libc_headers() {
CT_DoYes "" |make CROSS= PREFIX="${CT_SYSROOT_DIR}/" oldconfig 2>&1 |CT_DoLog ALL
CT_DoLog EXTRA "Building headers"
- make CROSS= PREFIX="${CT_SYSROOT_DIR}/" headers 2>&1 |CT_DoLog ALL
+ make ${CT_LIBC_UCLIBC_VERBOSITY} CROSS= PREFIX="${CT_SYSROOT_DIR}/" headers 2>&1 |CT_DoLog ALL
CT_DoLog EXTRA "Installing headers"
- make CROSS= PREFIX="${CT_SYSROOT_DIR}/" install_dev 2>&1 |CT_DoLog ALL
+ make ${CT_LIBC_UCLIBC_VERBOSITY} CROSS= PREFIX="${CT_SYSROOT_DIR}/" install_dev 2>&1 |CT_DoLog ALL
CT_EndStep
}
@@ -120,6 +120,7 @@ do_libc() {
make CROSS=${CT_TARGET}- \
PREFIX="${CT_SYSROOT_DIR}/" \
STRIPTOOL=true \
+ ${CT_LIBC_UCLIBC_VERBOSITY} \
all 2>&1 |CT_DoLog ALL
# YEM-FIXME: we want to install libraries in $SYSROOT/lib, but we don't want
@@ -134,6 +135,7 @@ do_libc() {
make CROSS=${CT_TARGET}- \
PREFIX="${CT_SYSROOT_DIR}/" \
STRIPTOOL=true \
+ ${CT_LIBC_UCLIBC_VERBOSITY} \
install 2>&1 |CT_DoLog ALL
CT_EndStep