From 20a17fd0f91ea2ac27c221094f2645e3f42d76cb Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 21 Mar 2014 08:19:33 -0600 Subject: dev-manual: Added more detail for using an external SCM. Provided more information based on an IRC conversation that Richard Purdies saw on #yocto. Reported-by: Richard Purdie (From yocto-docs rev: ec28d9f8f01a6e58ade2954e4e6f2ff1c11aa198) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 26 +++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) 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: -- cgit v1.2.3-54-g00ecf