Summary: | genkernel should recognise "--jobs" option in MAKEOPTS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leung Ki Chi <7words.sg> |
Component: | Current packages | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | john_r_graham, kayvansylvan, sping |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
genkernel log
genkernel configuration |
Description
Leung Ki Chi
2009-07-13 02:51:37 UTC
Created attachment 197740 [details]
genkernel log
Created attachment 197741 [details]
genkernel configuration
In addition, if you specify MAKEOPTS="-j5" in /etc/make.conf, genkernel still uses -j2 as its default. This, at least, is not a bug. Genkernel is not part of Portage and, by design, does not source /etc/make.conf. - John Confirmed. The code ${MAKEOPTS/-j?/-j1} is evalutad in a call to compile_generic ${whatever} runtask The only case of that I can find in the latest code is compile_generic menuconfig runtask which can be triggered by a command like genkernel kernel --menuconfig --makeopts="--jobs=50" I have replaced "${MAKEOPTS/-j?/j1}" by "${MAKEOPTS} -j1" to fix this problem. You can get and test this patch by emerging genkernel-99999 (five nines). http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commitdiff;h=94f4e02816dd8300439a14537770e186f7884c0b |