From c62d16735db1beecd47a0ea3c4c51ddd29a1aeeb Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 21 Jul 2011 13:38:33 +0200 Subject: linux.inc: enable parallel make for modules as well Signed-off-by: Koen Kooi --- recipes-kernel/linux/linux.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/linux.inc b/recipes-kernel/linux/linux.inc index 77e3179f..9650e686 100644 --- a/recipes-kernel/linux/linux.inc +++ b/recipes-kernel/linux/linux.inc @@ -228,6 +228,10 @@ do_configure_append() { fi } +# bitbake.conf only prepends PARALLEL make in tasks called do_compile, which isn't the case for compile_modules +# So explicitly enable it for that in here +EXTRA_OEMAKE = "${PARALLEL_MAKE} " + do_install_append() { oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix}/src/linux-${KERNEL_VERSION} ARCH=$ARCH } -- cgit v1.2.3-54-g00ecf