bitbake.conf: move BB_NUMBER_THREADS and PARALLEL_MAKE to bitbake.conf

Currently, BB_NUMBER_THREADS and PARALLEL_MAKE default to unset and
are set in local.conf. Now that we have the automatic probing,
the default values can be set in bitbake.conf and an example of
explicitly defining how many tasks to run can be moved to
local.conf.sample.extended.

[YOCTO #6217]

Signed-off-by: Roxana Ciobanu <roxana.ciobanu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Roxana Ciobanu 2014-07-23 10:46:02 +03:00 committed by Richard Purdie
parent f83319541a
commit 1529ef0504
1 changed files with 6 additions and 0 deletions

View File

@ -698,6 +698,12 @@ IMAGE_ROOTFS_SIZE ?= "65536"
# MACHINE don't change the path to the cache
CACHE := "${CACHE}"
# Default to setting automatically based on cpu count
BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
# Default to setting automatically based on cpu count
PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
##################################################################
# Magic Cookie for SANITY CHECK
##################################################################