summaryrefslogtreecommitdiffstats
path: root/meta-yocto
diff options
context:
space:
mode:
authorRoxana Ciobanu <roxana.ciobanu@intel.com>2014-07-23 10:46:02 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-23 22:00:35 +0100
commitf83319541aad03d4499e1d21940e599ec025547d (patch)
treea614354e22c67c308f9a0f2b0ed9d996142a7168 /meta-yocto
parent91c845c452de5ddbf85cf252df874650fb916bdd (diff)
downloadpoky-f83319541aad03d4499e1d21940e599ec025547d.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-yocto')
-rw-r--r--meta-yocto/conf/local.conf.sample22
-rw-r--r--meta-yocto/conf/local.conf.sample.extended23
2 files changed, 23 insertions, 22 deletions
diff --git a/meta-yocto/conf/local.conf.sample b/meta-yocto/conf/local.conf.sample
index bcb086481c..da4a01e95c 100644
--- a/meta-yocto/conf/local.conf.sample
+++ b/meta-yocto/conf/local.conf.sample
@@ -12,28 +12,6 @@
12# variable as required. 12# variable as required.
13 13
14# 14#
15# Parallelism Options
16#
17# These two options control how much parallelism BitBake should use. The first
18# option determines how many tasks bitbake should run in parallel:
19#
20#BB_NUMBER_THREADS ?= "4"
21#
22# Default to setting automatically based on cpu count
23BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
24#
25# The second option controls how many processes make should run in parallel when
26# running compile tasks:
27#
28#PARALLEL_MAKE ?= "-j 4"
29#
30# Default to setting automatically based on cpu count
31PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
32#
33# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
34# be appropriate for example.
35
36#
37# Machine Selection 15# Machine Selection
38# 16#
39# You need to select a specific machine to target the build with. There are a selection 17# You need to select a specific machine to target the build with. There are a selection
diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended
index b156319163..89b80a6eed 100644
--- a/meta-yocto/conf/local.conf.sample.extended
+++ b/meta-yocto/conf/local.conf.sample.extended
@@ -2,6 +2,29 @@
2# certain recipes. 2# certain recipes.
3#BBMASK = "" 3#BBMASK = ""
4 4
5#
6# Parallelism Options
7#
8# These two options control how much parallelism BitBake should use. The first
9# option determines how many tasks bitbake should run in parallel:
10#
11#BB_NUMBER_THREADS ?= "4"
12#
13# Default to setting automatically based on cpu count
14#BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
15#
16# The second option controls how many processes make should run in parallel when
17# running compile tasks:
18#
19#PARALLEL_MAKE ?= "-j 4"
20#
21# Default to setting automatically based on cpu count
22#PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
23#
24# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
25# be appropriate for example.
26
27
5# eglibc configurability is used to reduce minimal image's size. 28# eglibc configurability is used to reduce minimal image's size.
6# the all supported eglibc options are listed in DISTRO_FEATURES_LIBC 29# the all supported eglibc options are listed in DISTRO_FEATURES_LIBC
7# and disabled by default. Uncomment and copy the DISTRO_FEATURES_LIBC 30# and disabled by default. Uncomment and copy the DISTRO_FEATURES_LIBC