From: Scott Rifenbark Date: Tue, 4 Mar 2014 17:52:01 +0000 (-0600) Subject: bitbake: user-manual-execution.xml: Review edits for "Execution" chapter. X-Git-Tag: rev_ivi_2015_02_04~8858 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6905873e2787162a364b5e3ffb241e31ef918db9;p=scm%2Fbb%2Ftizen-distro.git bitbake: user-manual-execution.xml: Review edits for "Execution" chapter. Applied various changes from Richard Purdie's review of the "Execution" chapter. (Bitbake rev: 714c0e93bc2d1ae6227991a1c6e4c88504c1870c) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- diff --git a/bitbake/doc/user-manual/user-manual-execution.xml b/bitbake/doc/user-manual/user-manual-execution.xml index 148ac3e..d451ebb 100644 --- a/bitbake/doc/user-manual/user-manual-execution.xml +++ b/bitbake/doc/user-manual/user-manual-execution.xml @@ -167,52 +167,53 @@ The following list shows common variables set: - BBDEBUG + BB_NUMBER_THREADS - MULTI_PROVIDER_WHITELIST + BB_NUMBER_PARSE_THREADS - BB_NUMBER_PARSE_THREADS + BB_DEFAULT_TASK - BBPKGS + BBMASK - BB_DEFAULT_TASK + BBPKGS TOPDIR - BB_VERBOSE_LOGS + ASSUME_PROVIDED - BB_NICE_LEVEL + PREFERRED_VERSION - BBFILE_COLLECTIONS + PREFERRED_PROVIDERS - ASSUME_PROVIDED + MULTI_PROVIDER_WHITELIST - BB_DANGLINGAPPENDS_WARNONLY + BBFILE_COLLECTIONS - BBINCLUDED + BBDEBUG - BBFILE_PRIORITY + BB_VERBOSE_LOGS - BUILDNAME + BB_NICE_LEVEL - BBMASK + BB_DANGLINGAPPENDS_WARNONLY + + + BBINCLUDED - PREFERRED_VERSION - PREFERRED_PROVIDERS @@ -265,6 +266,10 @@ BitBake parses each recipe and append file located with BBFILES and stores the values of various variables into the datastore. + + Append files are applied in the order they are encountered in + BBFILES. + For each file, a fresh copy of the base configuration is made, then the recipe is parsed line by line. Any inherit statements cause BitBake to find and @@ -305,8 +310,8 @@ decisions about the recipe. Consequently, BitBake caches the values in which it is interested and does not store the rest of the information. - Experience has shown it's faster to re-parse the metadata than to - try and write it out to the disk and reload then it. + Experience has shown it is faster to re-parse the metadata than to + try and write it out to the disk and then reload it. @@ -427,10 +432,6 @@ - In summary, BitBake has created a list of providers, which is prioritized, for each target. - - - When there are multiple “versions” of a given package, BitBake defaults to selecting the most recent version, unless otherwise specified. @@ -464,6 +465,10 @@ PREFERRED_VERSION_a = "1.1" + + + In summary, BitBake has created a list of providers, which is prioritized, for each target. +
@@ -503,6 +508,12 @@ Based on the generated list of providers and the dependency information, BitBake can now calculate exactly what tasks it needs to run and in what order it needs to run them. + The + "Executing Tasks" section has more + information on how BitBake chooses which task to execute next. + + + The build now starts with BitBake forking off threads up to the limit set in the BB_NUMBER_THREADS variable.