summaryrefslogtreecommitdiff
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-29 23:48:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-30 11:36:24 +0100
commitfae7d7d43b7b2a58f5964e642c022d380e3ec39f (patch)
treea1c2e19af8d62adc81e8066d2a8a7e33ab93bbbd /meta/conf
parentc54c1280fc0d06a53e23339c3913ec88eead13d9 (diff)
downloadopenembedded-core-fae7d7d43b7b2a58f5964e642c022d380e3ec39f.tar.gz
openembedded-core-fae7d7d43b7b2a58f5964e642c022d380e3ec39f.tar.bz2
openembedded-core-fae7d7d43b7b2a58f5964e642c022d380e3ec39f.zip
bitbake.conf: Start using parallel make for do_install
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>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index f18e35b7eb..a1420cf373 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -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.