libc/glibc-eglibc: misc janitorial cleanups.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
1.1 --- a/scripts/build/libc/glibc-eglibc.sh-common Sat Jan 22 22:35:58 2011 +0100
1.2 +++ b/scripts/build/libc/glibc-eglibc.sh-common Thu Jan 20 00:27:36 2011 +0100
1.3 @@ -10,7 +10,7 @@
1.4 do_libc_start_files() {
1.5 local src_dir="${CT_SRC_DIR}/${CT_LIBC}-${CT_LIBC_VERSION}"
1.6
1.7 - CT_DoStep INFO "Installing C library headers / start files"
1.8 + CT_DoStep INFO "Installing C library headers & start files"
1.9
1.10 mkdir -p "${CT_BUILD_DIR}/build-libc-startfiles"
1.11 cd "${CT_BUILD_DIR}/build-libc-startfiles"
1.12 @@ -55,10 +55,10 @@
1.13
1.14 # use the 'install-headers' makefile target to install the
1.15 # headers
1.16 - CT_DoExecLog ALL \
1.17 - make install-headers \
1.18 - install_root=${CT_SYSROOT_DIR} \
1.19 - install-bootstrap-headers=yes
1.20 + CT_DoExecLog ALL make ${JOBSFLAGS} \
1.21 + install_root=${CT_SYSROOT_DIR} \
1.22 + install-bootstrap-headers=yes \
1.23 + install-headers
1.24
1.25 # For glibc, a few headers need to be manually installed
1.26 if [ "${CT_LIBC}" = "glibc" ]; then
1.27 @@ -87,7 +87,7 @@
1.28 # there are a few object files needed to link shared libraries,
1.29 # which we build and install by hand
1.30 CT_DoExecLog ALL mkdir -p "${CT_SYSROOT_DIR}/usr/lib"
1.31 - CT_DoExecLog ALL make csu/subdir_lib
1.32 + CT_DoExecLog ALL make ${JOBSFLAGS} csu/subdir_lib
1.33 CT_DoExecLog ALL cp csu/crt1.o csu/crti.o csu/crtn.o \
1.34 "${CT_SYSROOT_DIR}/usr/lib"
1.35
1.36 @@ -238,12 +238,12 @@
1.37 esac
1.38
1.39 CT_DoLog EXTRA "Building C library"
1.40 - CT_DoExecLog ALL make -j${CT_PARALLEL_JOBS} \
1.41 + CT_DoExecLog ALL make ${JOBSFLAGS} \
1.42 "${extra_make_args[@]}" \
1.43 all
1.44
1.45 CT_DoLog EXTRA "Installing C library"
1.46 - CT_DoExecLog ALL make -j${CT_PARALLEL_JOBS} \
1.47 + CT_DoExecLog ALL make ${JOBSFLAGS} \
1.48 "${extra_make_args[@]}" \
1.49 install_root="${CT_SYSROOT_DIR}" \
1.50 install
2.1 --- a/scripts/build/libc/glibc.sh Sat Jan 22 22:35:58 2011 +0100
2.2 +++ b/scripts/build/libc/glibc.sh Thu Jan 20 00:27:36 2011 +0100
2.3 @@ -5,6 +5,10 @@
2.4 # Add the definitions common to glibc and eglibc
2.5 # do_libc_headers
2.6 # do_libc_start_files
2.7 +# do_libc
2.8 +# do_libc_finish
2.9 +# do_libc_add_ons_list
2.10 +# do_libc_min_kernel_config
2.11 . "${CT_LIB_DIR}/scripts/build/libc/glibc-eglibc.sh-common"
2.12
2.13 # Download glibc