summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-10 00:34:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-13 12:28:11 +0000
commitcf008856691b2ed8bd1707183bafccd94da911ae (patch)
treea8c891015c66bd3cda5e1a342f94ad1f3ff65a96 /meta/classes/kernel.bbclass
parentebe66be93a1d62c7410c599bcc3aafa65e5fcec4 (diff)
downloadpoky-cf008856691b2ed8bd1707183bafccd94da911ae.tar.gz
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. (From OE-Core rev: 10b354c6ce7bac3b4cce5e6a649d4fd3ceca235b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
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() {
89do_compile_kernelmodules() { 89do_compile_kernelmodules() {
90 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE 90 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
91 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then 91 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
92 oe_runmake modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" 92 oe_runmake ${PARALLEL_MAKE} modules CC="${KERNEL_CC}" LD="${KERNEL_LD}"
93 else 93 else
94 bbnote "no modules to compile" 94 bbnote "no modules to compile"
95 fi 95 fi