diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-01-22 08:25:28 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-27 21:03:26 +0000 |
commit | 52801925554191efce8c20a98cd5cf5e8488977b (patch) | |
tree | a98d09baa9994019eb4c2d637d36c71859eaa4a4 | |
parent | 6201d18b79cc8e024d5d551818cfe81b23b6bca9 (diff) | |
download | poky-52801925554191efce8c20a98cd5cf5e8488977b.tar.gz |
bitbake: user-manual-ref-variables.xml: Added 10 new variables to the glossary.
Fixes [YOCTO #5472]
1. ASSUME_PROVIDED
2. BB_CURRENTTASK
3. BB_FETCH_PREMIRRORONLY
4. BB_FILENAME
5. BB_NICE_LEVEL
6. BB_HASHCONFIG_WHITELIST
7. BB_TASK_NICE_LEVEL
8. BB_NO_NETWORK
9. BB_NUMBER_PARSE_THREADS
10. STAMPCLEAN
(Bitbake rev: 72a01a54c4786a7a82ae8b86b8e2beedd07f7f21)
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 | 163 |
1 files changed, 158 insertions, 5 deletions
diff --git a/bitbake/doc/user-manual/user-manual-ref-variables.xml b/bitbake/doc/user-manual/user-manual-ref-variables.xml index dc1fb9b197..baee024cca 100644 --- a/bitbake/doc/user-manual/user-manual-ref-variables.xml +++ b/bitbake/doc/user-manual/user-manual-ref-variables.xml | |||
@@ -14,9 +14,8 @@ | |||
14 | 14 | ||
15 | <glossary id='ref-variables-glossary'> | 15 | <glossary id='ref-variables-glossary'> |
16 | 16 | ||
17 | |||
18 | <para> | 17 | <para> |
19 | <!-- <link linkend='var-ALLOW_EMPTY'>A</link> --> | 18 | <link linkend='var-ASSUME_PROVIDED'>A</link> |
20 | <link linkend='var-B'>B</link> | 19 | <link linkend='var-B'>B</link> |
21 | <!-- <link linkend='var-CFLAGS'>C</link> --> | 20 | <!-- <link linkend='var-CFLAGS'>C</link> --> |
22 | <link linkend='var-DEFAULT_PREFERENCE'>D</link> | 21 | <link linkend='var-DEFAULT_PREFERENCE'>D</link> |
@@ -44,11 +43,30 @@ | |||
44 | <!-- <link linkend='var-glossary-z'>Z</link>--> | 43 | <!-- <link linkend='var-glossary-z'>Z</link>--> |
45 | </para> | 44 | </para> |
46 | 45 | ||
47 | |||
48 | <!-- | ||
49 | <glossdiv id='var-glossary-a'><title>A</title> | 46 | <glossdiv id='var-glossary-a'><title>A</title> |
47 | |||
48 | <glossentry id='var-ASSUME_PROVIDED'><glossterm>ASSUME_PROVIDED</glossterm> | ||
49 | <glossdef> | ||
50 | <para> | ||
51 | Recipe names | ||
52 | (<link linkend='var-PN'><filename>PN</filename></link> | ||
53 | values) BitBake does not attempt to build. | ||
54 | Instead, BitBake assumes these recipes have already been | ||
55 | built. | ||
56 | </para> | ||
57 | |||
58 | <para> | ||
59 | <filename>ASSUMED_PROVIDED</filename> often specifies | ||
60 | native tools. | ||
61 | A good example is <filename>git-native</filename>, which | ||
62 | allows for the the Git binary from the host to be used | ||
63 | rather than building <filename>git-native</filename>. | ||
64 | </para> | ||
65 | </glossdef> | ||
66 | </glossentry> | ||
67 | |||
50 | </glossdiv> | 68 | </glossdiv> |
51 | --> | 69 | |
52 | 70 | ||
53 | <glossdiv id='var-glossary-b'><title>B</title> | 71 | <glossdiv id='var-glossary-b'><title>B</title> |
54 | 72 | ||
@@ -61,6 +79,16 @@ | |||
61 | </glossdef> | 79 | </glossdef> |
62 | </glossentry> | 80 | </glossentry> |
63 | 81 | ||
82 | <glossentry id='var-BB_CURRENTTASK'><glossterm>BB_CURRENTTASK</glossterm> | ||
83 | <glossdef> | ||
84 | <para> | ||
85 | Contains the name of the currently running task. | ||
86 | The name does not include the | ||
87 | <filename>do_</filename> prefix. | ||
88 | </para> | ||
89 | </glossdef> | ||
90 | </glossentry> | ||
91 | |||
64 | <glossentry id='var-BB_DANGLINGAPPENDS_WARNONLY'><glossterm>BB_DANGLINGAPPENDS_WARNONLY</glossterm> | 92 | <glossentry id='var-BB_DANGLINGAPPENDS_WARNONLY'><glossterm>BB_DANGLINGAPPENDS_WARNONLY</glossterm> |
65 | <glossdef> | 93 | <glossdef> |
66 | <para> | 94 | <para> |
@@ -239,6 +267,34 @@ | |||
239 | </glossdef> | 267 | </glossdef> |
240 | </glossentry> | 268 | </glossentry> |
241 | 269 | ||
270 | <glossentry id='var-BB_FETCH_PREMIRRORONLY'><glossterm>BB_FETCH_PREMIRRORONLY</glossterm> | ||
271 | <glossdef> | ||
272 | <para> | ||
273 | When set to "1", causes BitBake's fetcher module to only | ||
274 | search | ||
275 | <link linkend='var-PREMIRRORS'><filename>PREMIRRORS</filename></link> | ||
276 | for files. | ||
277 | BitBake will not search the main | ||
278 | <link linkend='var-SRC_URI'><filename>SRC_URI</filename></link> | ||
279 | or | ||
280 | <link linkend='var-MIRRORS'><filename>MIRRORS</filename></link>. | ||
281 | </para> | ||
282 | </glossdef> | ||
283 | </glossentry> | ||
284 | |||
285 | <glossentry id='var-BB_FILENAME'><glossterm>BB_FILENAME</glossterm> | ||
286 | <glossdef> | ||
287 | <para> | ||
288 | Contains the filename of the recipe that owns the currently | ||
289 | running task. | ||
290 | For example, if the <filename>do_fetch</filename> task that | ||
291 | resides in the <filename>my-recipe.bb</filename> is | ||
292 | executing, the <filename>BB_FILENAME</filename> variable | ||
293 | contains "/foo/path/my-recipe.bb". | ||
294 | </para> | ||
295 | </glossdef> | ||
296 | </glossentry> | ||
297 | |||
242 | <glossentry id='var-BB_GENERATE_MIRROR_TARBALLS'><glossterm>BB_GENERATE_MIRROR_TARBALLS</glossterm> | 298 | <glossentry id='var-BB_GENERATE_MIRROR_TARBALLS'><glossterm>BB_GENERATE_MIRROR_TARBALLS</glossterm> |
243 | <glossdef> | 299 | <glossdef> |
244 | <para> | 300 | <para> |
@@ -258,6 +314,69 @@ | |||
258 | </glossdef> | 314 | </glossdef> |
259 | </glossentry> | 315 | </glossentry> |
260 | 316 | ||
317 | <glossentry id='var-BB_HASHCONFIG_WHITELIST'><glossterm>BB_HASHCONFIG_WHITELIST</glossterm> | ||
318 | <glossdef> | ||
319 | <para> | ||
320 | A list of variables that BitBake excludes from checksum | ||
321 | comparisons. | ||
322 | </para> | ||
323 | |||
324 | <para> | ||
325 | One of the ways BitBake determines whether to re-parse the | ||
326 | main metadata is by using a checksum of the variables in | ||
327 | the datastore of the base configuration data. | ||
328 | There are variables that you typically want to exclude from | ||
329 | these checksum comparisons. | ||
330 | As an example, you would usually exclude | ||
331 | <filename>TIME</filename> and <filename>DATE</filename> | ||
332 | because these variables are always changing. | ||
333 | If you did not exclude them, BitBake would never use the | ||
334 | cache. | ||
335 | </para> | ||
336 | </glossdef> | ||
337 | </glossentry> | ||
338 | |||
339 | <glossentry id='var-BB_NICE_LEVEL'><glossterm>BB_NICE_LEVEL</glossterm> | ||
340 | <glossdef> | ||
341 | <para> | ||
342 | Allows BitBake to run at a specific priority | ||
343 | (i.e. nice level). | ||
344 | System permissions usually mean that BitBake can reduce its | ||
345 | priority but not raise it again. | ||
346 | See | ||
347 | <link linkend='var-BB_TASK_NICE_LEVEL'><filename>BB_TASK_NICE_LEVEL</filename></link> | ||
348 | for additional information. | ||
349 | </para> | ||
350 | </glossdef> | ||
351 | </glossentry> | ||
352 | |||
353 | <glossentry id='var-BB_NO_NETWORK'><glossterm>BB_NO_NETWORK</glossterm> | ||
354 | <glossdef> | ||
355 | <para> | ||
356 | Disables network access in the BitBake fetcher modules. | ||
357 | With this access disabled, any command that attempts to | ||
358 | access the network becomes an error. | ||
359 | </para> | ||
360 | |||
361 | <para> | ||
362 | Disabling network access is useful for testing source | ||
363 | mirrors, running builds when not connected to the Internet, | ||
364 | and when operating in certain kinds of firewall | ||
365 | environments. | ||
366 | </para> | ||
367 | </glossdef> | ||
368 | </glossentry> | ||
369 | |||
370 | <glossentry id='var-BB_NUMBER_PARSE_THREADS'><glossterm>BB_NUMBER_PARSE_THREADS</glossterm> | ||
371 | <glossdef> | ||
372 | <para> | ||
373 | Sets the number of threads BitBake uses when parsing. | ||
374 | By default, the number of threads is equal to the number | ||
375 | of cores on the system. | ||
376 | </para> | ||
377 | </glossdef> | ||
378 | </glossentry> | ||
379 | |||
261 | <glossentry id='var-BB_NUMBER_THREADS'><glossterm>BB_NUMBER_THREADS</glossterm> | 380 | <glossentry id='var-BB_NUMBER_THREADS'><glossterm>BB_NUMBER_THREADS</glossterm> |
262 | <glossdef> | 381 | <glossdef> |
263 | <para>The maximum number of tasks BitBake should run in parallel at any one time. | 382 | <para>The maximum number of tasks BitBake should run in parallel at any one time. |
@@ -266,6 +385,25 @@ | |||
266 | </glossdef> | 385 | </glossdef> |
267 | </glossentry> | 386 | </glossentry> |
268 | 387 | ||
388 | <glossentry id='var-BB_TASK_NICE_LEVEL'><glossterm>BB_TASK_NICE_LEVEL</glossterm> | ||
389 | <glossdef> | ||
390 | <para> | ||
391 | Allows specific tasks to change their priority | ||
392 | (i.e. nice level). | ||
393 | </para> | ||
394 | |||
395 | <para> | ||
396 | You can use this variable in combination with task | ||
397 | overrides to raise or lower priorities of specific tasks. | ||
398 | For example, on the | ||
399 | <ulink url='http://www.yoctoproject.org'>Yocto Project</ulink> | ||
400 | autobuilder, QEMU emulation in images is given a higher | ||
401 | priority as compared to build tasks to ensure that images | ||
402 | do not suffer timeouts on loaded systems. | ||
403 | </para> | ||
404 | </glossdef> | ||
405 | </glossentry> | ||
406 | |||
269 | <glossentry id='var-BBCLASSEXTEND'><glossterm>BBCLASSEXTEND</glossterm> | 407 | <glossentry id='var-BBCLASSEXTEND'><glossterm>BBCLASSEXTEND</glossterm> |
270 | <glossdef> | 408 | <glossdef> |
271 | <para> | 409 | <para> |
@@ -1261,6 +1399,21 @@ | |||
1261 | </glossdef> | 1399 | </glossdef> |
1262 | </glossentry> | 1400 | </glossentry> |
1263 | 1401 | ||
1402 | <glossentry id='var-STAMPCLEAN'><glossterm>STAMPCLEAN</glossterm> | ||
1403 | <glossdef> | ||
1404 | <para> | ||
1405 | Specifies the base path used to create recipe stamp files. | ||
1406 | Unlike the | ||
1407 | <link linkend='var-STAMP'><filename>STAMP</filename></link> | ||
1408 | variable, <filename>STAMPCLEAN</filename> can contain | ||
1409 | wildcards to match the range of files a clean operation | ||
1410 | should remove. | ||
1411 | BitBake uses a clean operation to remove any other stamps | ||
1412 | it should be removing when creating a new stamp. | ||
1413 | </para> | ||
1414 | </glossdef> | ||
1415 | </glossentry> | ||
1416 | |||
1264 | <glossentry id='var-SUMMARY'><glossterm>SUMMARY</glossterm> | 1417 | <glossentry id='var-SUMMARY'><glossterm>SUMMARY</glossterm> |
1265 | <glossdef> | 1418 | <glossdef> |
1266 | <para> | 1419 | <para> |