| Submitter | Shane Wang |
|---|---|
| Date | April 1, 2012, 2:21 p.m. |
| Message ID | <b5bd8a01e7cdc03219fd8cabc62010283bc18fc2.1333289684.git.shane.wang@intel.com> |
| Download | mbox | patch |
| Permalink | /patch/25039/ |
| State | New |
| Headers | show |
Comments
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@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.
Patch
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.
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@intel.com> --- meta-yocto/conf/local.conf.sample | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)