summaryrefslogtreecommitdiff
path: root/meta/classes
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:21:05 +0000
commit10b354c6ce7bac3b4cce5e6a649d4fd3ceca235b (patch)
treedc3cdbd9f6470e2e9e671fc4f6c8cec384726af8 /meta/classes
parente3e1fef27345e2ea923b76b1e6bcb9cd5572cec6 (diff)
downloadopenembedded-core-10b354c6ce7bac3b4cce5e6a649d4fd3ceca235b.tar.gz
openembedded-core-10b354c6ce7bac3b4cce5e6a649d4fd3ceca235b.tar.bz2
openembedded-core-10b354c6ce7bac3b4cce5e6a649d4fd3ceca235b.tar.xz
openembedded-core-10b354c6ce7bac3b4cce5e6a649d4fd3ceca235b.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 d0cc279a6..120a524bc 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