diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-01-24 15:44:24 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 12:17:05 +0000 |
| commit | ddcd91c6d6301b120d96b9ed700f010369ec3577 (patch) | |
| tree | 7a0180cfa9d8c6a8ef1c9f82074eb20f93c53ab6 | |
| parent | 081d31c6bcf7c6c474232c66f129510dc9c4701e (diff) | |
| download | poky-ddcd91c6d6301b120d96b9ed700f010369ec3577.tar.gz | |
bitbake: user-manual-ref-variables.xml: Added 11 new variables to glossary.
SRCREV_FORMAT
BUILDNAME
BB_ENV_WHITELIST
BB_PRESERVE_ENV
BB_ENV_EXTRAWHITE
BB_ORIGENV
BB_TASKHASH
BITBAKE_UI
BBDUBUG
BB_DEFAULT_TASK
BBINCLUDED
(Bitbake rev: 0e3106bfdebfa255b2db08a8a4585516d8bebe20)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | bitbake/doc/user-manual/user-manual-ref-variables.xml | 164 |
1 files changed, 164 insertions, 0 deletions
diff --git a/bitbake/doc/user-manual/user-manual-ref-variables.xml b/bitbake/doc/user-manual/user-manual-ref-variables.xml index 41c10bdc92..7d821ed267 100644 --- a/bitbake/doc/user-manual/user-manual-ref-variables.xml +++ b/bitbake/doc/user-manual/user-manual-ref-variables.xml | |||
| @@ -112,6 +112,17 @@ | |||
| 112 | </glossdef> | 112 | </glossdef> |
| 113 | </glossentry> | 113 | </glossentry> |
| 114 | 114 | ||
| 115 | <glossentry id='var-BB_DEFAULT_TASK'><glossterm>BB_DEFAULT_TASK</glossterm> | ||
| 116 | <glossdef> | ||
| 117 | <para> | ||
| 118 | The default task to use when none is specified (e.g. | ||
| 119 | with the <filename>-c</filename> command line option). | ||
| 120 | The task name specified should not include the | ||
| 121 | <filename>do_</filename> prefix. | ||
| 122 | </para> | ||
| 123 | </glossdef> | ||
| 124 | </glossentry> | ||
| 125 | |||
| 115 | <glossentry id='var-BB_DISKMON_DIRS'><glossterm>BB_DISKMON_DIRS</glossterm> | 126 | <glossentry id='var-BB_DISKMON_DIRS'><glossterm>BB_DISKMON_DIRS</glossterm> |
| 116 | <glossdef> | 127 | <glossdef> |
| 117 | <para> | 128 | <para> |
| @@ -267,6 +278,44 @@ | |||
| 267 | </glossdef> | 278 | </glossdef> |
| 268 | </glossentry> | 279 | </glossentry> |
| 269 | 280 | ||
| 281 | <glossentry id='var-BB_ENV_WHITELIST'><glossterm>BB_ENV_WHITELIST</glossterm> | ||
| 282 | <glossdef> | ||
| 283 | <para> | ||
| 284 | Specifies the internal whitelist of variables to allow | ||
| 285 | through from the external environment into BitBake's | ||
| 286 | datastore. | ||
| 287 | If the value of this variable is not specified | ||
| 288 | (which is the default), the following list is used: | ||
| 289 | <link linkend='var-BBPATH'><filename>BBPATH</filename></link>, | ||
| 290 | <link linkend='var-BB_PRESERVE_ENV'><filename>BB_PRESERVE_ENV</filename></link>, | ||
| 291 | <link linkend='var-BB_ENV_WHITELIST'><filename>BB_ENV_WHITELIST</filename></link>, | ||
| 292 | and | ||
| 293 | <link linkend='var-BB_ENV_EXTRAWHITE'><filename>BB_ENV_EXTRAWHITE</filename></link>. | ||
| 294 | <note> | ||
| 295 | You must set this variable in the external environment | ||
| 296 | in order for it to work. | ||
| 297 | </note> | ||
| 298 | </para> | ||
| 299 | </glossdef> | ||
| 300 | </glossentry> | ||
| 301 | |||
| 302 | <glossentry id='var-BB_ENV_EXTRAWHITE'><glossterm>BB_ENV_EXTRAWHITE</glossterm> | ||
| 303 | <glossdef> | ||
| 304 | <para> | ||
| 305 | Specifies an additional set of variables to allow through | ||
| 306 | (whitelist) from the external environment into BitBake's | ||
| 307 | datastore. | ||
| 308 | This list of variables are on top of the internal list | ||
| 309 | set in | ||
| 310 | <link linkend='var-BB_ENV_WHITELIST'><filename>BB_ENV_WHITELIST</filename></link>. | ||
| 311 | <note> | ||
| 312 | You must set this variable in the external | ||
| 313 | environment in order for it to work. | ||
| 314 | </note> | ||
| 315 | </para> | ||
| 316 | </glossdef> | ||
| 317 | </glossentry> | ||
| 318 | |||
| 270 | <glossentry id='var-BB_FETCH_PREMIRRORONLY'><glossterm>BB_FETCH_PREMIRRORONLY</glossterm> | 319 | <glossentry id='var-BB_FETCH_PREMIRRORONLY'><glossterm>BB_FETCH_PREMIRRORONLY</glossterm> |
| 271 | <glossdef> | 320 | <glossdef> |
| 272 | <para> | 321 | <para> |
| @@ -451,6 +500,36 @@ | |||
| 451 | </glossdef> | 500 | </glossdef> |
| 452 | </glossentry> | 501 | </glossentry> |
| 453 | 502 | ||
| 503 | <glossentry id='var-BB_ORIGENV'><glossterm>BB_ORIGENV</glossterm> | ||
| 504 | <glossdef> | ||
| 505 | <para> | ||
| 506 | Contains a copy of the original external environment in | ||
| 507 | which BitBake was run. | ||
| 508 | The copy is taken before any whitelisted variable values | ||
| 509 | are filtered into BitBake's datastore. | ||
| 510 | <note> | ||
| 511 | The contents of this variable is a datastore object | ||
| 512 | that can be queried using the normal datastore | ||
| 513 | operations. | ||
| 514 | </note> | ||
| 515 | </para> | ||
| 516 | </glossdef> | ||
| 517 | </glossentry> | ||
| 518 | |||
| 519 | <glossentry id='var-BB_PRESERVE_ENV'><glossterm>BB_PRESERVE_ENV</glossterm> | ||
| 520 | <glossdef> | ||
| 521 | <para> | ||
| 522 | Disables whitelisting and instead allows all variables | ||
| 523 | through from the external environment into BitBake's | ||
| 524 | datastore. | ||
| 525 | <note> | ||
| 526 | You must set this variable in the external | ||
| 527 | environment in order for it to work. | ||
| 528 | </note> | ||
| 529 | </para> | ||
| 530 | </glossdef> | ||
| 531 | </glossentry> | ||
| 532 | |||
| 454 | <glossentry id='var-BB_NUMBER_THREADS'><glossterm>BB_NUMBER_THREADS</glossterm> | 533 | <glossentry id='var-BB_NUMBER_THREADS'><glossterm>BB_NUMBER_THREADS</glossterm> |
| 455 | <glossdef> | 534 | <glossdef> |
| 456 | <para>The maximum number of tasks BitBake should run in parallel at any one time. | 535 | <para>The maximum number of tasks BitBake should run in parallel at any one time. |
| @@ -703,6 +782,16 @@ | |||
| 703 | </glossdef> | 782 | </glossdef> |
| 704 | </glossentry> | 783 | </glossentry> |
| 705 | 784 | ||
| 785 | <glossentry id='var-BB_TASKHASH'><glossterm>BB_TASKHASH</glossterm> | ||
| 786 | <glossdef> | ||
| 787 | <para> | ||
| 788 | Within an executing task, this variable holds the hash | ||
| 789 | of the task as returned by the currently enabled | ||
| 790 | signature generator. | ||
| 791 | </para> | ||
| 792 | </glossdef> | ||
| 793 | </glossentry> | ||
| 794 | |||
| 706 | <glossentry id='var-BB_VERBOSE_LOGS'><glossterm>BB_VERBOSE_LOGS</glossterm> | 795 | <glossentry id='var-BB_VERBOSE_LOGS'><glossterm>BB_VERBOSE_LOGS</glossterm> |
| 707 | <glossdef> | 796 | <glossdef> |
| 708 | <para> | 797 | <para> |
| @@ -750,6 +839,20 @@ | |||
| 750 | </glossdef> | 839 | </glossdef> |
| 751 | </glossentry> | 840 | </glossentry> |
| 752 | 841 | ||
| 842 | <glossentry id='var-BBDEBUG'><glossterm>BBDEBUG</glossterm> | ||
| 843 | <glossdef> | ||
| 844 | <para> | ||
| 845 | Sets the BitBake debug output level to a specific value | ||
| 846 | as incremented by the <filename>-d</filename> command line | ||
| 847 | option. | ||
| 848 | <note> | ||
| 849 | You must set this variable in the external environment | ||
| 850 | in order for it to work. | ||
| 851 | </note> | ||
| 852 | </para> | ||
| 853 | </glossdef> | ||
| 854 | </glossentry> | ||
| 855 | |||
| 753 | <glossentry id='var-BBFILE_COLLECTIONS'><glossterm>BBFILE_COLLECTIONS</glossterm> | 856 | <glossentry id='var-BBFILE_COLLECTIONS'><glossterm>BBFILE_COLLECTIONS</glossterm> |
| 754 | <glossdef> | 857 | <glossdef> |
| 755 | <para>Lists the names of configured layers. | 858 | <para>Lists the names of configured layers. |
| @@ -809,6 +912,16 @@ | |||
| 809 | </glossdef> | 912 | </glossdef> |
| 810 | </glossentry> | 913 | </glossentry> |
| 811 | 914 | ||
| 915 | <glossentry id='var-BBINCLUDED'><glossterm>BBINCLUDED</glossterm> | ||
| 916 | <glossdef> | ||
| 917 | <para> | ||
| 918 | Contains a space-separated list of all of all files that | ||
| 919 | BitBake's parser included during parsing of the current | ||
| 920 | file. | ||
| 921 | </para> | ||
| 922 | </glossdef> | ||
| 923 | </glossentry> | ||
| 924 | |||
| 812 | <glossentry id='var-BBINCLUDELOGS'><glossterm>BBINCLUDELOGS</glossterm> | 925 | <glossentry id='var-BBINCLUDELOGS'><glossterm>BBINCLUDELOGS</glossterm> |
| 813 | <glossdef> | 926 | <glossdef> |
| 814 | <para>Variable that controls how BitBake displays logs on build failure.</para> | 927 | <para>Variable that controls how BitBake displays logs on build failure.</para> |
| @@ -928,6 +1041,30 @@ | |||
| 928 | </glossdef> | 1041 | </glossdef> |
| 929 | </glossentry> | 1042 | </glossentry> |
| 930 | 1043 | ||
| 1044 | <glossentry id='var-BITBAKE_UI'><glossterm>BITBAKE_UI</glossterm> | ||
| 1045 | <glossdef> | ||
| 1046 | <para> | ||
| 1047 | Used to specify the UI module to use when running BitBake. | ||
| 1048 | Using this variable is equivalent to using the | ||
| 1049 | <filename>-u</filename> command-line option. | ||
| 1050 | <note> | ||
| 1051 | You must set this variable in the external environment | ||
| 1052 | in order for it to work. | ||
| 1053 | </note> | ||
| 1054 | </para> | ||
| 1055 | </glossdef> | ||
| 1056 | </glossentry> | ||
| 1057 | |||
| 1058 | <glossentry id='var-BUILDNAME'><glossterm>BUILDNAME</glossterm> | ||
| 1059 | <glossdef> | ||
| 1060 | <para> | ||
| 1061 | A name assigned to the build. | ||
| 1062 | The name defaults to a datetime stamp of when the build was | ||
| 1063 | started but can be defined by the metadata. | ||
| 1064 | </para> | ||
| 1065 | </glossdef> | ||
| 1066 | </glossentry> | ||
| 1067 | |||
| 931 | </glossdiv> | 1068 | </glossdiv> |
| 932 | 1069 | ||
| 933 | <glossdiv id='var-glossary-c'><title>C</title> | 1070 | <glossdiv id='var-glossary-c'><title>C</title> |
| @@ -1894,6 +2031,33 @@ | |||
| 1894 | </glossdef> | 2031 | </glossdef> |
| 1895 | </glossentry> | 2032 | </glossentry> |
| 1896 | 2033 | ||
| 2034 | <glossentry id='var-SRCREV_FORMAT'><glossterm>SRCREV_FORMAT</glossterm> | ||
| 2035 | <glossdef> | ||
| 2036 | <para> | ||
| 2037 | Helps construct valid | ||
| 2038 | <link linkend='var-SRCREV'><filename>SRCREV</filename></link> | ||
| 2039 | values when multiple source controlled URLs are used in | ||
| 2040 | <link linkend='var-SRC_URI'><filename>SRC_URI</filename></link>. | ||
| 2041 | </para> | ||
| 2042 | |||
| 2043 | <para> | ||
| 2044 | The system needs help constructing these values under these | ||
| 2045 | circumstances. | ||
| 2046 | Each component in the <filename>SRC_URI</filename> | ||
| 2047 | is assigned a name and these are referenced | ||
| 2048 | in the <filename>SRCREV_FORMAT</filename> variable. | ||
| 2049 | Consider an example with URLs named "machine" and "meta". | ||
| 2050 | In this case, <filename>SRCREV_FORMAT</filename> could look | ||
| 2051 | like "machine_meta" and those names would have the SCM | ||
| 2052 | versions substituted into each position. | ||
| 2053 | Only one <filename>AUTOINC</filename> placeholder is added | ||
| 2054 | and if needed. | ||
| 2055 | And, this placeholder is placed at the start of the | ||
| 2056 | returned string. | ||
| 2057 | </para> | ||
| 2058 | </glossdef> | ||
| 2059 | </glossentry> | ||
| 2060 | |||
| 1897 | <glossentry id='var-STAMP'><glossterm>STAMP</glossterm> | 2061 | <glossentry id='var-STAMP'><glossterm>STAMP</glossterm> |
| 1898 | <glossdef> | 2062 | <glossdef> |
| 1899 | <para> | 2063 | <para> |
