diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-03-21 08:19:33 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-25 12:29:45 +0000 |
| commit | 20a17fd0f91ea2ac27c221094f2645e3f42d76cb (patch) | |
| tree | c6d4f81b589d19b0356861b51de8225dafe7f69d | |
| parent | 4a40d730bd96e13535f08321f312220c5a76d954 (diff) | |
| download | 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.xml | 26 |
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-<PN> = "${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-<PN> = "${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'> |
