Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] kernel.bbclass: Allow do_compile_kernelmodules to use PARALLEL_MAKE
@ 2011-12-10  0:34 Richard Purdie
  2011-12-10  0:36 ` Bruce Ashfield
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Richard Purdie @ 2011-12-10  0:34 UTC (permalink / raw)
  To: Ashfield, Bruce, Hart, Darren, openembedded-core

Without this we don't take advantage of any configured multiple CPU
cores which seems a shame.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
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





^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-12-12 21:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-10  0:34 [PATCH] kernel.bbclass: Allow do_compile_kernelmodules to use PARALLEL_MAKE Richard Purdie
2011-12-10  0:36 ` Bruce Ashfield
2011-12-10  1:06 ` Darren Hart
2011-12-10 23:28 ` Khem Raj
2011-12-11  8:56   ` Koen Kooi
2011-12-12 18:21   ` Phil Blundell
2011-12-12 18:31     ` Khem Raj
2011-12-12 21:30     ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox