diff -r ac021d186cd6 -r 71803c9f6de0 scripts/build/libc/glibc-eglibc.sh-common --- a/scripts/build/libc/glibc-eglibc.sh-common Sat Jan 22 22:35:58 2011 +0100 +++ b/scripts/build/libc/glibc-eglibc.sh-common Thu Jan 20 00:27:36 2011 +0100 @@ -10,7 +10,7 @@ do_libc_start_files() { local src_dir="${CT_SRC_DIR}/${CT_LIBC}-${CT_LIBC_VERSION}" - CT_DoStep INFO "Installing C library headers / start files" + CT_DoStep INFO "Installing C library headers & start files" mkdir -p "${CT_BUILD_DIR}/build-libc-startfiles" cd "${CT_BUILD_DIR}/build-libc-startfiles" @@ -55,10 +55,10 @@ # use the 'install-headers' makefile target to install the # headers - CT_DoExecLog ALL \ - make install-headers \ - install_root=${CT_SYSROOT_DIR} \ - install-bootstrap-headers=yes + CT_DoExecLog ALL make ${JOBSFLAGS} \ + install_root=${CT_SYSROOT_DIR} \ + install-bootstrap-headers=yes \ + install-headers # For glibc, a few headers need to be manually installed if [ "${CT_LIBC}" = "glibc" ]; then @@ -87,7 +87,7 @@ # there are a few object files needed to link shared libraries, # which we build and install by hand CT_DoExecLog ALL mkdir -p "${CT_SYSROOT_DIR}/usr/lib" - CT_DoExecLog ALL make csu/subdir_lib + CT_DoExecLog ALL make ${JOBSFLAGS} csu/subdir_lib CT_DoExecLog ALL cp csu/crt1.o csu/crti.o csu/crtn.o \ "${CT_SYSROOT_DIR}/usr/lib" @@ -238,12 +238,12 @@ esac CT_DoLog EXTRA "Building C library" - CT_DoExecLog ALL make -j${CT_PARALLEL_JOBS} \ + CT_DoExecLog ALL make ${JOBSFLAGS} \ "${extra_make_args[@]}" \ all CT_DoLog EXTRA "Installing C library" - CT_DoExecLog ALL make -j${CT_PARALLEL_JOBS} \ + CT_DoExecLog ALL make ${JOBSFLAGS} \ "${extra_make_args[@]}" \ install_root="${CT_SYSROOT_DIR}" \ install