scripts: PARALLELMFLAGS is evil, rename

The reunification of the glibc/eglibc code paths exposed a nasty
bug in the glibc build: use of PARALLELMFLAGS breaks the build.

See the explanations in that bug report against FC6:
    https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=212111

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
Yann E. MORIN"
2011-01-22 22:35:43 +01:00
parent b343b0216b
commit 49ab32ffe2
14 changed files with 38 additions and 41 deletions

View File

@ -123,7 +123,7 @@ do_debug_gdb_build() {
"${cross_extra_config[@]}"
CT_DoLog EXTRA "Building cross-gdb"
CT_DoExecLog ALL make ${PARALLELMFLAGS}
CT_DoExecLog ALL make ${JOBSFLAGS}
CT_DoLog EXTRA "Installing cross-gdb"
CT_DoExecLog ALL make install
@ -169,8 +169,8 @@ do_debug_gdb_build() {
# extension appended to executables. Find that.
tic_ext=$(grep -E '^x[[:space:]]*=' progs/Makefile |sed -r -e 's/^.*=[[:space:]]*//;')
CT_DoExecLog ALL make ${PARALLELMFLAGS} -C include
CT_DoExecLog ALL make ${PARALLELMFLAGS} -C progs "tic${tic_ext}"
CT_DoExecLog ALL make ${JOBSFLAGS} -C include
CT_DoExecLog ALL make ${JOBSFLAGS} -C progs "tic${tic_ext}"
CT_DoExecLog ALL install -d -m 0755 "${CT_PREFIX_DIR}/buildtools"
CT_DoExecLog ALL install -m 0755 "progs/tic${tic_ext}" "${CT_PREFIX_DIR}/buildtools"
@ -192,7 +192,7 @@ do_debug_gdb_build() {
--enable-termcap \
"${ncurses_opts[@]}"
CT_DoExecLog ALL make ${PARALLELMFLAGS}
CT_DoExecLog ALL make ${JOBSFLAGS}
CT_DoExecLog ALL make install
@ -219,7 +219,7 @@ do_debug_gdb_build() {
--enable-static \
--disable-shared
CT_DoExecLog ALL make ${PARALLELMFLAGS}
CT_DoExecLog ALL make ${JOBSFLAGS}
CT_DoExecLog ALL make install
native_extra_config+=("--with-expat")
@ -269,7 +269,7 @@ do_debug_gdb_build() {
"${native_extra_config[@]}"
CT_DoLog EXTRA "Building native gdb"
CT_DoExecLog ALL make ${PARALLELMFLAGS} CC=${CT_TARGET}-${CT_CC}
CT_DoExecLog ALL make ${JOBSFLAGS} CC=${CT_TARGET}-${CT_CC}
CT_DoLog EXTRA "Installing native gdb"
CT_DoExecLog ALL make DESTDIR="${CT_DEBUGROOT_DIR}" install
@ -334,7 +334,7 @@ do_debug_gdb_build() {
"${gdbserver_extra_config[@]}"
CT_DoLog EXTRA "Building gdbserver"
CT_DoExecLog ALL make ${PARALLELMFLAGS} CC=${CT_TARGET}-${CT_CC}
CT_DoExecLog ALL make ${JOBSFLAGS} CC=${CT_TARGET}-${CT_CC}
CT_DoLog EXTRA "Installing gdbserver"
CT_DoExecLog ALL make DESTDIR="${CT_DEBUGROOT_DIR}" install