mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
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:
parent
958855acea
commit
a143467477
@ -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:"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user