summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Zhang <sen.zhang@windriver.com>2013-06-06 06:20:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-17 16:27:59 +0100
commit7f58f4c5f4e0a49b002124636d1f1c568d17bbbc (patch)
tree927ca96328de096283f6c5bbc1f09fb67b5217d5
parentbaff2630b3c883c37bcc33d984453e14a0d4a206 (diff)
downloadpoky-7f58f4c5f4e0a49b002124636d1f1c568d17bbbc.tar.gz
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@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta-yocto/conf/local.conf.sample4
-rw-r--r--meta-yocto/conf/local.conf.sample.extended2
-rw-r--r--meta-yocto/conf/site.conf.sample6
3 files changed, 6 insertions, 6 deletions
diff --git a/meta-yocto/conf/local.conf.sample b/meta-yocto/conf/local.conf.sample
index 1abe2247b9..2d89282198 100644
--- a/meta-yocto/conf/local.conf.sample
+++ b/meta-yocto/conf/local.conf.sample
@@ -17,12 +17,12 @@
17# These two options control how much parallelism BitBake should use. The first 17# These two options control how much parallelism BitBake should use. The first
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# 21#
22# The second option controls how many processes make should run in parallel when 22# The second option controls how many processes make should run in parallel when
23# running compile tasks: 23# running compile tasks:
24# 24#
25#PARALLEL_MAKE = "-j 4" 25#PARALLEL_MAKE ?= "-j 4"
26# 26#
27# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would 27# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
28# be appropriate for example. 28# be appropriate for example.
diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended
index 3dc73fbec6..07e5cf553a 100644
--- a/meta-yocto/conf/local.conf.sample.extended
+++ b/meta-yocto/conf/local.conf.sample.extended
@@ -82,7 +82,7 @@
82# Use "external-MODE" to use the precompiled external toolchains where MODE 82# Use "external-MODE" to use the precompiled external toolchains where MODE
83# is the type of external toolchain to use e.g. eabi. You need to ensure 83# is the type of external toolchain to use e.g. eabi. You need to ensure
84# the toolchain you want to use is included in an appropriate layer 84# the toolchain you want to use is included in an appropriate layer
85# TCMODE = "external-eabi" 85# TCMODE ?= "external-eabi"
86 86
87# mklibs library size optimization is more useful to smaller images, 87# mklibs library size optimization is more useful to smaller images,
88# and less useful for bigger images. Also mklibs library optimization 88# and less useful for bigger images. Also mklibs library optimization
diff --git a/meta-yocto/conf/site.conf.sample b/meta-yocto/conf/site.conf.sample
index b2d01d0c59..c551e8fb0c 100644
--- a/meta-yocto/conf/site.conf.sample
+++ b/meta-yocto/conf/site.conf.sample
@@ -19,10 +19,10 @@ SCONF_VERSION = "1"
19# To use git with a proxy, you must use an external git proxy command, such as 19# To use git with a proxy, you must use an external git proxy command, such as
20# the one provided by scripts/oe-git-proxy.sh. To use this script, copy it to 20# the one provided by scripts/oe-git-proxy.sh. To use this script, copy it to
21# your PATH and uncomment the following: 21# your PATH and uncomment the following:
22#GIT_PROXY_COMMAND="oe-git-proxy" 22#GIT_PROXY_COMMAND ?= "oe-git-proxy"
23#ALL_PROXY="socks://socks.example.com:1080" 23#ALL_PROXY ?= "socks://socks.example.com:1080"
24#or 24#or
25#ALL_PROXY="https://proxy.example.com:8080" 25#ALL_PROXY ?= "https://proxy.example.com:8080"
26# If you wish to use certain hosts without the proxy, specify them in NO_PROXY. 26# If you wish to use certain hosts without the proxy, specify them in NO_PROXY.
27# See the script for details on syntax. 27# See the script for details on syntax.
28 28