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(-)
This commit is contained in:
Yann E. MORIN" 2008-11-01 17:16:34 +00:00
parent 958855acea
commit a143467477
2 changed files with 16 additions and 5 deletions

View File

@ -61,6 +61,15 @@ config LIBC_VERSION
# 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:"

View File

@ -117,12 +117,14 @@ do_libc() {
# 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