summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-03-21 08:19:33 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-25 12:29:45 +0000
commit20a17fd0f91ea2ac27c221094f2645e3f42d76cb (patch)
treec6d4f81b589d19b0356861b51de8225dafe7f69d
parent4a40d730bd96e13535f08321f312220c5a76d954 (diff)
downloadast2050-yocto-poky-20a17fd0f91ea2ac27c221094f2645e3f42d76cb.zip
ast2050-yocto-poky-20a17fd0f91ea2ac27c221094f2645e3f42d76cb.tar.gz
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 <richard.purdie@linuxfoundation.org> (From yocto-docs rev: ec28d9f8f01a6e58ade2954e4e6f2ff1c11aa198) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml26
1 files 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 ec1e8fc..5dced8b 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -5384,11 +5384,18 @@
</para>
<para>
- To enable this behavior, simply add the following to the <filename>local.conf</filename>
- configuration file found in the
- <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>:
+ To enable this behavior, the
+ <ulink url='&YOCTO_DOCS_REF_URL;#var-PV'><filename>PV</filename></ulink>
+ of the recipe needs to reference
+ <ulink url='&YOCTO_DOCS_REF_URL;#var-SRCPV'><filename>SRCPV</filename></ulink>.
+ Here is an example:
<literallayout class='monospaced'>
- SRCREV_pn-&lt;PN&gt; = "${AUTOREV}"
+ PV = "1.2.3+git${SRCPV}
+ </literallayout>
+ Then, you can add the following to your
+ <filename>local.conf</filename>:
+ <literallayout class='monospaced'>
+ SRCREV_pn-&lt;PN&gt; = "${AUTOREF}"
</literallayout>
<ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink>
is the name of the recipe for which you want to enable automatic source
@@ -5396,7 +5403,16 @@
</para>
<para>
- 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:
+ <literallayout class='monospaced'>
+ SRCREV = "${AUTOREV}"
+ </literallayout>
+ </para>
+
+ <para>
+ The Yocto Project provides a distribution named
<filename>poky-bleeding</filename>, whose configuration
file contains the line:
<literallayout class='monospaced'>
OpenPOWER on IntegriCloud