From 10b354c6ce7bac3b4cce5e6a649d4fd3ceca235b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 10 Dec 2011 00:34:27 +0000 Subject: kernel.bbclass: Allow do_compile_kernelmodules to use PARALLEL_MAKE Without this we don't take advantage of any configured multiple CPU cores which seems a shame. Signed-off-by: Richard Purdie --- meta/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index d0cc279a66..120a524bc3 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 -- cgit v1.2.3