]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: Start using parallel make for do_install
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Sep 2011 22:48:20 +0000 (23:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Sep 2011 10:36:24 +0000 (11:36 +0100)
Most piece of software now support parallel make install. Enable
this by default using the value of PARALLEL_MAKE. In a similar way
to PARALLEL_MAKE we can disable this for broken recipes with:

PARALLEL_MAKEINST = ""

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf

index f18e35b7eb9b724e5929e8c6d28b6e4d52453491..a1420cf373441784f048a002383d8d1447eb5fd7 100644 (file)
@@ -493,8 +493,11 @@ export TARGET_LDFLAGS = "-Wl,-O1 ${TARGET_LINK_HASH_STYLE}"
 # Which flags to leave by strip-flags() in bin/build/oebuild.sh ?
 ALLOWED_FLAGS = "-O -mcpu -march -pipe"
 
-# Pass parallel make options to the compile task only
+# Pass parallel make options to the compile task
 EXTRA_OEMAKE_prepend_task-compile = "${PARALLEL_MAKE} "
+PARALLEL_MAKEINST ??= "${PARALLEL_MAKE}"
+# Pass parallel make options to the install task
+EXTRA_OEMAKE_prepend_task-install = "${PARALLEL_MAKEINST} "
 
 ##################################################################
 # Optimization flags.