diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-10 00:34:27 +0000 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-03-29 16:14:38 +0200 |
| commit | 4e9eb3306881b218aae2cb00139a4eef3e5053b5 (patch) | |
| tree | 7b5a48eaecb26a7088ee5917b134df29062b2d0c | |
| parent | be2ae063d1586301713a0dc466bfe44e2f598cb1 (diff) | |
| download | meta-openembedded-4e9eb3306881b218aae2cb00139a4eef3e5053b5.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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
| -rw-r--r-- | meta-oe/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass index 578a02f1c8..1ef8e2a501 100644 --- a/meta-oe/classes/kernel.bbclass +++ b/meta-oe/classes/kernel.bbclass | |||
| @@ -96,7 +96,7 @@ kernel_do_compile() { | |||
| 96 | do_compile_kernelmodules() { | 96 | do_compile_kernelmodules() { |
| 97 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE | 97 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE |
| 98 | if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then | 98 | if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then |
| 99 | oe_runmake modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" | 99 | oe_runmake ${PARALLEL_MAKE} modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" |
| 100 | else | 100 | else |
| 101 | bbnote "no modules to compile" | 101 | bbnote "no modules to compile" |
| 102 | fi | 102 | fi |
