diff options
author | Roxana Ciobanu <roxana.ciobanu@intel.com> | 2014-07-23 10:46:02 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-23 22:01:56 +0100 |
commit | 1529ef0504542145f2b81b2dba4bcc81d5dac96e (patch) | |
tree | aa32909297d7f05f5b79094d73870861219e27ac /meta/conf | |
parent | f83319541aad03d4499e1d21940e599ec025547d (diff) | |
download | poky-1529ef0504542145f2b81b2dba4bcc81d5dac96e.tar.gz |
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>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index f4870d52a9..135461518c 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -698,6 +698,12 @@ IMAGE_ROOTFS_SIZE ?= "65536" | |||
698 | # MACHINE don't change the path to the cache | 698 | # MACHINE don't change the path to the cache |
699 | CACHE := "${CACHE}" | 699 | CACHE := "${CACHE}" |
700 | 700 | ||
701 | # Default to setting automatically based on cpu count | ||
702 | BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}" | ||
703 | |||
704 | # Default to setting automatically based on cpu count | ||
705 | PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}" | ||
706 | |||
701 | ################################################################## | 707 | ################################################################## |
702 | # Magic Cookie for SANITY CHECK | 708 | # Magic Cookie for SANITY CHECK |
703 | ################################################################## | 709 | ################################################################## |