linux.inc: enable parallel make for modules as well
authorKoen Kooi <koen@dominion.thruhere.net>
Thu, 21 Jul 2011 11:38:33 +0000 (13:38 +0200)
committerKoen Kooi <koen@dominion.thruhere.net>
Thu, 21 Jul 2011 11:38:33 +0000 (13:38 +0200)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
recipes-kernel/linux/linux.inc

index 77e3179fb39521e229424e6bb956cd92042d5874..9650e686af85bc5d1ddcb3c492b471fb91bf38b3 100644 (file)
@@ -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
 }