From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.windriver.com ([147.11.1.11]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RZB2S-0000e0-EW for openembedded-core@lists.openembedded.org; Sat, 10 Dec 2011 01:43:40 +0100 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id pBA0ajMB026352 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 9 Dec 2011 16:36:45 -0800 (PST) Received: from bruce-ashfields-macbook.local (128.224.21.240) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.1.255.0; Fri, 9 Dec 2011 16:36:45 -0800 Message-ID: <4EE2A99B.6010404@windriver.com> Date: Fri, 9 Dec 2011 19:36:43 -0500 From: Bruce Ashfield User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-US; rv:1.9.2.24) Gecko/20111103 Thunderbird/3.1.16 MIME-Version: 1.0 To: Richard Purdie References: <1323477267.5309.206.camel@ted> In-Reply-To: <1323477267.5309.206.camel@ted> Cc: "Hart, Darren" , openembedded-core Subject: Re: [PATCH] kernel.bbclass: Allow do_compile_kernelmodules to use PARALLEL_MAKE X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2011 00:43:40 -0000 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit On 11-12-09 7:34 PM, Richard Purdie wrote: > Without this we don't take advantage of any configured multiple CPU > cores which seems a shame. Agreed. Acked-by: Bruce Ashfield > > Signed-off-by: Richard Purdie > --- > diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass > index d0cc279..120a524 100644 > --- a/meta/classes/kernel.bbclass > +++ b/meta/classes/kernel.bbclass > @@ -89,7 +89,7 @@ kernel_do_compile() { > do_compile_kernelmodules() { > unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE > if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then > - oe_runmake modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" > + oe_runmake ${PARALLEL_MAKE} modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" > else > bbnote "no modules to compile" > fi > >