From 7f550e2dcee5298a525a1ec06dbb78e252bf1c0c Mon Sep 17 00:00:00 2001 From: Brad House Date: Sat, 7 Feb 2004 14:55:20 +0000 Subject: [PATCH] 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 --- gen_compile.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 } -- 2.26.2