diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 971a89806d..582f528ca0 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -396,7 +396,9 @@ AUTOREV[doc] = "When SRCREV is set to the value of this variable, it specifies to use the latest source revision in the repository." - When SRCREV + + When + SRCREV is set to the value of this variable, it specifies to use the latest source revision in the repository. Here is an example: @@ -404,6 +406,21 @@ SRCREV = "${AUTOREV}" + + + If you use the previous statement to inherit the latest + version of software, you need to be sure + PV + contains + ${SRCPV}. + For example, suppose you have a kernel recipe that needs + to inherit the latest kernel and you use the previous + statement. + In this example, ${SRCPV} does not + get into PV. + Consequently, you need to change PV + so that it does contain ${SRCPV}. + @@ -10035,13 +10052,22 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" The revision of the source code used to build the package. - This variable applies to Subversion, Git, Mercurial and Bazaar - only. - Note that if you wish to build a fixed revision and you wish - to avoid performing a query on the remote repository every time - BitBake parses your recipe, you should specify a SRCREV that is a + This variable applies to Subversion, Git, Mercurial and + Bazaar only. + Note that if you want to build a fixed revision and you + want to avoid performing a query on the remote repository + every time BitBake parses your recipe, you should specify + a SRCREV that is a full revision identifier and not just a tag. + + + For information on limitations when inheriting the latest + revision of software using SRCREV, + see the + AUTOREV + variable description. + @@ -11165,7 +11191,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" In summary, you must be sure to add the layer to your bblayers.conf file in front of the meta layer and then set the - EXTERNAL_TOOLCHAIN + EXTERNAL_TOOLCHAIN variable in your local.conf file to the location in which you installed the toolchain.