diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-29 23:48:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-04 13:46:20 +0100 |
commit | fea174903b19d25982fdbcca234dee66f21733e9 (patch) | |
tree | 2baaeada1e72b828e3d464b2949ebac26288bdd5 /meta/conf/bitbake.conf | |
parent | cb97f7a40daef48a5f1afd50b72540e025dc21b0 (diff) | |
download | poky-fea174903b19d25982fdbcca234dee66f21733e9.tar.gz |
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 = ""
(From OE-Core rev: fae7d7d43b7b2a58f5964e642c022d380e3ec39f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 5 |
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}" | |||
493 | # Which flags to leave by strip-flags() in bin/build/oebuild.sh ? | 493 | # Which flags to leave by strip-flags() in bin/build/oebuild.sh ? |
494 | ALLOWED_FLAGS = "-O -mcpu -march -pipe" | 494 | ALLOWED_FLAGS = "-O -mcpu -march -pipe" |
495 | 495 | ||
496 | # Pass parallel make options to the compile task only | 496 | # Pass parallel make options to the compile task |
497 | EXTRA_OEMAKE_prepend_task-compile = "${PARALLEL_MAKE} " | 497 | EXTRA_OEMAKE_prepend_task-compile = "${PARALLEL_MAKE} " |
498 | PARALLEL_MAKEINST ??= "${PARALLEL_MAKE}" | ||
499 | # Pass parallel make options to the install task | ||
500 | EXTRA_OEMAKE_prepend_task-install = "${PARALLEL_MAKEINST} " | ||
498 | 501 | ||
499 | ################################################################## | 502 | ################################################################## |
500 | # Optimization flags. | 503 | # Optimization flags. |