diff --git a/documentation/overview-manual/overview-manual-concepts.xml b/documentation/overview-manual/overview-manual-concepts.xml index 2a3d62c32a..3fc810d21a 100644 --- a/documentation/overview-manual/overview-manual-concepts.xml +++ b/documentation/overview-manual/overview-manual-concepts.xml @@ -1830,8 +1830,8 @@ The description of tasks so far assumes that BitBake needs - to build everything and there are no prebuilt objects - available. + to build everything and no available prebuilt objects + exist. BitBake does support skipping tasks if prebuilt objects are available. These objects are usually made available in the form of a @@ -1856,34 +1856,33 @@ variant (e.g. generating package files in the do_package_write_* task). - In other cases, it does not make sense, (e.g. a + In other cases, it does not make sense (e.g. a do_patch - task or + task or a do_unpack task) since the work involved would be equal to or greater than the underlying task. - In the OpenEmbedded build system, the common tasks that - have setscene variants are + In the build system, the common tasks that have setscene + variants are do_package, do_package_write_*, do_deploy, do_packagedata, and do_populate_sysroot. - Notice that these are most of the tasks whose output is an - end result. + Notice that these tasks represent most of the tasks whose + output is an end result. - The OpenEmbedded build system has knowledge of the - relationship between these tasks and other tasks that - precede them. + The build system has knowledge of the relationship between + these tasks and other preceding tasks. For example, if BitBake runs do_populate_sysroot_setscene for - something, there is little point in running any of the + something, it does not make sense to run any of the do_fetch, do_unpack, do_patch, @@ -1891,7 +1890,7 @@ do_compile, and do_install tasks. However, if do_package needs to be - run, BitBake would need to run those other tasks. + run, BitBake needs to run those other tasks. @@ -1899,7 +1898,7 @@ from an sstate cache because some objects are simply not required at all. For example, you do not need a compiler or native tools, - such as quilt, if there is nothing to compile or patch. + such as quilt, if nothing exists to compile or patch. If the do_package_write_* packages are available from sstate, BitBake does not need the do_package task data. @@ -1918,26 +1917,24 @@ - If objects are found in the sstate cache, the OpenEmbedded - build system works backwards from the end targets specified - by the user. - For example, if an image is being built, the OpenEmbedded - build system first looks for the packages needed for - that image and the tools needed to construct an image. + If objects are found in the sstate cache, the build system + works backwards from the end targets specified by the user. + For example, if an image is being built, the build system + first looks for the packages needed for that image and the + tools needed to construct an image. If those are available, the compiler is not needed. Thus, the compiler is not even downloaded. If something was found to be unavailable, or the - download or setscene task fails, the OpenEmbedded build - system then tries to install dependencies, such as the - compiler, from the cache. + download or setscene task fails, the build system then + tries to install dependencies, such as the compiler, from + the cache. The availability of objects in the sstate cache is handled by the function specified by the BB_HASHCHECK_FUNCTION - variable and returns a list of the objects that are - available. + variable and returns a list of available objects. The function specified by the BB_SETSCENE_DEPVALID variable is the function that determines whether a given