summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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 @@
5384 </para> 5384 </para>
5385 5385
5386 <para> 5386 <para>
5387 To enable this behavior, simply add the following to the <filename>local.conf</filename> 5387 To enable this behavior, the
5388 configuration file found in the 5388 <ulink url='&YOCTO_DOCS_REF_URL;#var-PV'><filename>PV</filename></ulink>
5389 <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>: 5389 of the recipe needs to reference
5390 <ulink url='&YOCTO_DOCS_REF_URL;#var-SRCPV'><filename>SRCPV</filename></ulink>.
5391 Here is an example:
5390 <literallayout class='monospaced'> 5392 <literallayout class='monospaced'>
5391 SRCREV_pn-&lt;PN&gt; = "${AUTOREV}" 5393 PV = "1.2.3+git${SRCPV}
5394 </literallayout>
5395 Then, you can add the following to your
5396 <filename>local.conf</filename>:
5397 <literallayout class='monospaced'>
5398 SRCREV_pn-&lt;PN&gt; = "${AUTOREF}"
5392 </literallayout> 5399 </literallayout>
5393 <ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink> 5400 <ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink>
5394 is the name of the recipe for which you want to enable automatic source 5401 is the name of the recipe for which you want to enable automatic source
@@ -5396,7 +5403,16 @@
5396 </para> 5403 </para>
5397 5404
5398 <para> 5405 <para>
5399 In fact, the Yocto Project provides a distribution named 5406 If you do not want to update your local configuration file, you can
5407 add the following directly to the recipe to finish enabling
5408 the feature:
5409 <literallayout class='monospaced'>
5410 SRCREV = "${AUTOREV}"
5411 </literallayout>
5412 </para>
5413
5414 <para>
5415 The Yocto Project provides a distribution named
5400 <filename>poky-bleeding</filename>, whose configuration 5416 <filename>poky-bleeding</filename>, whose configuration
5401 file contains the line: 5417 file contains the line:
5402 <literallayout class='monospaced'> 5418 <literallayout class='monospaced'>