diff options
| -rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 6d274361d8..d24838a54b 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
| @@ -1681,6 +1681,30 @@ | |||
| 1681 | </para> | 1681 | </para> |
| 1682 | </section> | 1682 | </section> |
| 1683 | 1683 | ||
| 1684 | <section id="platdev-appdev-srcrev"> | ||
| 1685 | <title>Using an External SCM</title> | ||
| 1686 | |||
| 1687 | <para> | ||
| 1688 | If you're working on a recipe that pulls from an external Source Code Manager (SCM), it | ||
| 1689 | is possible to have the OpenEmbedded build system notice new changes added to the | ||
| 1690 | SCM and then build the package that depends on them using the latest version. | ||
| 1691 | This only works for SCMs from which it is possible to get a sensible revision number for changes. | ||
| 1692 | Currently, you can do this with Apache Subversion (SVN), Git, and Bazaar (BZR) repositories. | ||
| 1693 | </para> | ||
| 1694 | |||
| 1695 | <para> | ||
| 1696 | To enable this behavior, simply add the following to the <filename>local.conf</filename> | ||
| 1697 | configuration file found in the | ||
| 1698 | <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>build directory</ulink>: | ||
| 1699 | <literallayout class='monospaced'> | ||
| 1700 | SRCREV_pn-<PN> = "${AUTOREV}" | ||
| 1701 | </literallayout> | ||
| 1702 | where <filename>PN</filename> | ||
| 1703 | is the name of the package for which you want to enable automatic source | ||
| 1704 | revision updating. | ||
| 1705 | </para> | ||
| 1706 | </section> | ||
| 1707 | |||
| 1684 | <section id="platdev-gdb-remotedebug"> | 1708 | <section id="platdev-gdb-remotedebug"> |
| 1685 | <title>Debugging With the GNU Project Debugger (GDB) Remotely</title> | 1709 | <title>Debugging With the GNU Project Debugger (GDB) Remotely</title> |
| 1686 | 1710 | ||
