multi-kernel: use PARALLEL_MAKE if set by user
authorKoen Kooi <koen@openembedded.org>
Mon, 11 Oct 2010 12:13:04 +0000 (14:13 +0200)
committerKoen Kooi <koen@openembedded.org>
Mon, 11 Oct 2010 12:13:04 +0000 (14:13 +0200)
Signed-off-by: Koen Kooi <k-kooi@ti.com>
recipes/linux/multi-kernel.inc

index 70cfd87..d8e17ef 100644 (file)
@@ -17,6 +17,10 @@ SRC_URI_append = " \
 
 MULTI_CONFIG_BASE_SUFFIX = "multi-config-"
 
+# bitbake.conf only prepends PARALLEL make in tasks called do_compile, which isn't the case for multiconfig
+# So explicitly enable it for compileconfigs in here
+EXTRA_OEMAKE = "${PARALLEL_MAKE} "
+
 do_compileconfigs () {
 
   # Compile and Install additional kernel configs if found