diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-10 00:34:27 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-13 12:21:05 +0000 |
commit | 10b354c6ce7bac3b4cce5e6a649d4fd3ceca235b (patch) | |
tree | dc3cdbd9f6470e2e9e671fc4f6c8cec384726af8 /meta | |
parent | e3e1fef27345e2ea923b76b1e6bcb9cd5572cec6 (diff) | |
download | openembedded-core-10b354c6ce7bac3b4cce5e6a649d4fd3ceca235b.tar.gz openembedded-core-10b354c6ce7bac3b4cce5e6a649d4fd3ceca235b.tar.bz2 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')
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
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() { 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 |