# HG changeset patch # User "Yann E. MORIN" # Date 1225559794 0 # Node ID f1b5700819ccf82d1064ae189faba0538ed76017 # Parent a934a4d0e60289a1c3ee49303ad43bcc14feae58 Enable uClibc parallel build for those versions supporting it. /trunk/scripts/build/libc/uClibc.sh | 12 7 5 0 +++++++----- /trunk/config/libc/uClibc.in | 9 9 0 0 +++++++++ 2 files changed, 16 insertions(+), 5 deletions(-) diff -r a934a4d0e602 -r f1b5700819cc config/libc/uClibc.in --- a/config/libc/uClibc.in Sat Nov 01 17:13:54 2008 +0000 +++ b/config/libc/uClibc.in Sat Nov 01 17:16:34 2008 +0000 @@ -61,6 +61,15 @@ # CT_INSERT_VERSION_STRING_ABOVE # Don't remove above line! +config LIBC_UCLIBC_PARALLEL + bool + prompt "Build uClibc in //" if LIBC_V_snapshot || LIBC_V_specific_date + default n + help + Build uClibc using parallel jobs. + Some 'old' versions won't build in //, but it works starting with + 0.9.30 release candidates. + choice bool prompt "uClibc verbosity:" diff -r a934a4d0e602 -r f1b5700819cc scripts/build/libc/uClibc.sh --- a/scripts/build/libc/uClibc.sh Sat Nov 01 17:13:54 2008 +0000 +++ b/scripts/build/libc/uClibc.sh Sat Nov 01 17:16:34 2008 +0000 @@ -117,12 +117,14 @@ # We do _not_ want to strip anything for now, in case we specifically # asked for a debug toolchain, thus the STRIPTOOL= assignment + # /Old/ versions can not build in // CT_DoLog EXTRA "Building C library" - CT_DoExecLog ALL \ - make CROSS=${CT_TARGET}- \ - PREFIX="${CT_SYSROOT_DIR}/" \ - STRIPTOOL=true \ - ${CT_LIBC_UCLIBC_VERBOSITY} \ + CT_DoExecLog ALL \ + make ${CT_LIBC_UCLIBC_PARALLEL:+${PARALLELMFLAGS}} \ + CROSS=${CT_TARGET}- \ + PREFIX="${CT_SYSROOT_DIR}/" \ + STRIPTOOL=true \ + ${CT_LIBC_UCLIBC_VERBOSITY} \ all # YEM-FIXME: we want to install libraries in $SYSROOT/lib, but we don't want