diff options
Diffstat (limited to 'meta-yocto/conf/local.conf.sample')
-rw-r--r-- | meta-yocto/conf/local.conf.sample | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-yocto/conf/local.conf.sample b/meta-yocto/conf/local.conf.sample index 71856b8563..36d33e1061 100644 --- a/meta-yocto/conf/local.conf.sample +++ b/meta-yocto/conf/local.conf.sample | |||
@@ -18,12 +18,18 @@ | |||
18 | # option determines how many tasks bitbake should run in parallel: | 18 | # option determines how many tasks bitbake should run in parallel: |
19 | # | 19 | # |
20 | #BB_NUMBER_THREADS ?= "4" | 20 | #BB_NUMBER_THREADS ?= "4" |
21 | # | ||
22 | # Default to setting automatically based on cpu count | ||
23 | BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}" | ||
21 | # | 24 | # |
22 | # The second option controls how many processes make should run in parallel when | 25 | # The second option controls how many processes make should run in parallel when |
23 | # running compile tasks: | 26 | # running compile tasks: |
24 | # | 27 | # |
25 | #PARALLEL_MAKE ?= "-j 4" | 28 | #PARALLEL_MAKE ?= "-j 4" |
26 | # | 29 | # |
30 | # Default to setting automatically based on cpu count | ||
31 | PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}" | ||
32 | # | ||
27 | # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would | 33 | # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would |
28 | # be appropriate for example. | 34 | # be appropriate for example. |
29 | 35 | ||