[bitbake-devel] [PATCH 5/7] meta-yocto/local.conf.sample: change = to ?= for BB_NUMBER_THREADS and PARALLEL_MAKE

Wang, Shane shane.wang at intel.com
Mon Apr 2 07:48:43 UTC 2012


Sorry, this was sent to the wrong mail list. I am going to resend.

--
Shane

Shane Wang wrote on 2012-04-01:

> In the current local.conf, BB_NUMBER_THREADS and PARALLEL_MAKE are
> assigned by '=', which overwrites the values set from the Hob. To avoid
> that, use '?=' instead.
> 
> [Yocto #2210]
> 
> Signed-off-by: Shane Wang <shane.wang at intel.com>
> ---
>  meta-yocto/conf/local.conf.sample |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> diff --git a/meta-yocto/conf/local.conf.sample
> b/meta-yocto/conf/local.conf.sample index 38507e3..a4a8192 100644 ---
> a/meta-yocto/conf/local.conf.sample +++
> b/meta-yocto/conf/local.conf.sample @@ -17,12 +17,12 @@
>  # These two options control how much parallelism BitBake should use.
>  The first # option determines how many tasks bitbake should run in
>  parallel: #
> -#BB_NUMBER_THREADS = "4"
> +#BB_NUMBER_THREADS ?= "4"
>  # # The second option controls how many processes make should run in
>  parallel when # running compile tasks: #
> -#PARALLEL_MAKE = "-j 4"
> +#PARALLEL_MAKE ?= "-j 4"
 # # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j
 4" would # be appropriate for example.





More information about the bitbake-devel mailing list