From: Brad House Date: Sat, 7 Feb 2004 14:55:20 +0000 (+0000) Subject: make modules_install should use -j1 only X-Git-Tag: v3.4.10.902~683 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7f550e2dcee5298a525a1ec06dbb78e252bf1c0c;p=genkernel.git make modules_install should use -j1 only git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@69 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/gen_compile.sh b/gen_compile.sh index 1749cd6..8fdd3cf 100644 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -186,7 +186,12 @@ compile_modules() { cd ${KERNEL_DIR} compile_generic "modules" kernel export UNAME_MACHINE="${ARCH}" + # On 2.4 kernels, if MAKEOPTS > -j1 it can cause failures + MAKEOPTS_SAVE="${MAKEOPTS}" + MAKEOPTS="-j1" compile_generic "modules_install" kernel + MAKEOPTS="${MAKEOPTS_SAVE}" + export MAKEOPTS unset UNAME_MACHINE }