[oe-commits] Jesse Zhang : local.conf.sample: use ?= to assign BB_ENV_EXTRAWHITE variables

git at git.openembedded.org git at git.openembedded.org
Mon Jun 17 15:56:30 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: a0dfa0f0ac8cfb1e46ef2da934e39a8d96b5bf8b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a0dfa0f0ac8cfb1e46ef2da934e39a8d96b5bf8b

Author: Jesse Zhang <sen.zhang at windriver.com>
Date:   Thu Jun  6 06:20:27 2013 +0000

local.conf.sample: use ?= to assign BB_ENV_EXTRAWHITE variables

Use ?= so that the BB_ENV_EXTRAWHITE variables can be overridden from
the environment.

[YOCTO #4367]

Signed-off-by: Jesse Zhang <sen.zhang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/conf/local.conf.sample          |    4 ++--
 meta/conf/local.conf.sample.extended |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
index 85205c5..2b078d0 100644
--- a/meta/conf/local.conf.sample
+++ b/meta/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.
diff --git a/meta/conf/local.conf.sample.extended b/meta/conf/local.conf.sample.extended
index aad615a..298211a 100644
--- a/meta/conf/local.conf.sample.extended
+++ b/meta/conf/local.conf.sample.extended
@@ -82,7 +82,7 @@
 # Use "external-MODE" to use the precompiled external toolchains where MODE
 # is the type of external toolchain to use e.g. eabi. You need to ensure 
 # the toolchain you want to use is included in an appropriate layer
-# TCMODE = "external-eabi"
+# TCMODE ?= "external-eabi"
 
 # mklibs library size optimization is more useful to smaller images,
 # and less useful for bigger images. Also mklibs library optimization



More information about the Openembedded-commits mailing list