diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index ec1e8fcc66..5dced8b608 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -5384,11 +5384,18 @@ - To enable this behavior, simply add the following to the local.conf - configuration file found in the - Build Directory: + To enable this behavior, the + PV + of the recipe needs to reference + SRCPV. + Here is an example: - SRCREV_pn-<PN> = "${AUTOREV}" + PV = "1.2.3+git${SRCPV} + + Then, you can add the following to your + local.conf: + + SRCREV_pn-<PN> = "${AUTOREF}" PN is the name of the recipe for which you want to enable automatic source @@ -5396,7 +5403,16 @@ - In fact, the Yocto Project provides a distribution named + If you do not want to update your local configuration file, you can + add the following directly to the recipe to finish enabling + the feature: + + SRCREV = "${AUTOREV}" + + + + + The Yocto Project provides a distribution named poky-bleeding, whose configuration file contains the line: