diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-02-23 08:11:27 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-03 17:34:14 +0000 |
commit | da22add33b8f44ff3019ee9edd7a520b54769c27 (patch) | |
tree | dc45df7089040cb1413079656172c92fdbed62b2 /bitbake/doc/bitbake-user-manual/bitbake-user-manual-execution.xml | |
parent | f11de9d205961088d31f9893fd6c140b443a5841 (diff) | |
download | poky-da22add33b8f44ff3019ee9edd7a520b54769c27.tar.gz |
bitbake: bitbake-user-manual: Enhance environment variable discussion.
Fixes [YOCTO #8567]
Updated the variable list describing the variables that affect
how environment variables are handled. Also updated the section
on how those variables are passed.
(Bitbake rev: 91cb52b1e77bba9d046239933b5c0513d01e6824)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc/bitbake-user-manual/bitbake-user-manual-execution.xml')
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-execution.xml | 37 |
1 files changed, 28 insertions, 9 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-execution.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-execution.xml index fa52e29898..b1b72e0aae 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-execution.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-execution.xml | |||
@@ -42,9 +42,9 @@ | |||
42 | <literallayout class='monospaced'> | 42 | <literallayout class='monospaced'> |
43 | $ grep processor /proc/cpuinfo | 43 | $ grep processor /proc/cpuinfo |
44 | </literallayout> | 44 | </literallayout> |
45 | This command returns the number of processors, which takes into | 45 | This command returns the number of processors, which takes into |
46 | account hyper-threading. | 46 | account hyper-threading. |
47 | Thus, a quad-core build host with hyper-threading most likely | 47 | Thus, a quad-core build host with hyper-threading most likely |
48 | shows eight processors, which is the value you would then assign to | 48 | shows eight processors, which is the value you would then assign to |
49 | <filename>BB_NUMBER_THREADS</filename>. | 49 | <filename>BB_NUMBER_THREADS</filename>. |
50 | </para> | 50 | </para> |
@@ -116,16 +116,35 @@ | |||
116 | Prior to parsing configuration files, Bitbake looks | 116 | Prior to parsing configuration files, Bitbake looks |
117 | at certain variables, including: | 117 | at certain variables, including: |
118 | <itemizedlist> | 118 | <itemizedlist> |
119 | <listitem><para><link linkend='var-BB_ENV_WHITELIST'><filename>BB_ENV_WHITELIST</filename></link></para></listitem> | 119 | <listitem><para> |
120 | <listitem><para><link linkend='var-BB_PRESERVE_ENV'><filename>BB_PRESERVE_ENV</filename></link></para></listitem> | 120 | <link linkend='var-BB_ENV_WHITELIST'><filename>BB_ENV_WHITELIST</filename></link> |
121 | <listitem><para><link linkend='var-BB_ENV_EXTRAWHITE'><filename>BB_ENV_EXTRAWHITE</filename></link></para></listitem> | 121 | </para></listitem> |
122 | <listitem><para> | ||
123 | <link linkend='var-BB_ENV_EXTRAWHITE'><filename>BB_ENV_EXTRAWHITE</filename></link> | ||
124 | </para></listitem> | ||
125 | <listitem><para> | ||
126 | <link linkend='var-BB_PRESERVE_ENV'><filename>BB_PRESERVE_ENV</filename></link> | ||
127 | </para></listitem> | ||
128 | <listitem><para> | ||
129 | <link linkend='var-BB_ORIGENV'><filename>BB_ORIGENV</filename></link> | ||
130 | </para></listitem> | ||
122 | <listitem><para> | 131 | <listitem><para> |
123 | <link linkend='var-BITBAKE_UI'><filename>BITBAKE_UI</filename></link> | 132 | <link linkend='var-BITBAKE_UI'><filename>BITBAKE_UI</filename></link> |
124 | </para></listitem> | 133 | </para></listitem> |
125 | </itemizedlist> | 134 | </itemizedlist> |
126 | You can find information on how to pass environment variables into the BitBake | 135 | The first four variables in this list relate to how BitBake treats shell |
127 | execution environment in the | 136 | environment variables during task execution. |
128 | "<link linkend='passing-information-into-the-build-task-environment'>Passing Information Into the Build Task Environment</link>" section. | 137 | By default, BitBake cleans the environment variables and provides tight |
138 | control over the shell execution environment. | ||
139 | However, through the use of these first four variables, you can | ||
140 | apply your control regarding the | ||
141 | environment variables allowed to be used by BitBake in the shell | ||
142 | during execution of tasks. | ||
143 | See the | ||
144 | "<link linkend='passing-information-into-the-build-task-environment'>Passing Information Into the Build Task Environment</link>" | ||
145 | section and the information about these variables in the | ||
146 | variable glossary for more information on how they work and | ||
147 | on how to use them. | ||
129 | </para> | 148 | </para> |
130 | 149 | ||
131 | <para> | 150 | <para> |