summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-07-13 13:52:36 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:54:09 +0100
commit568b732234b7433c53260e55508a0edd49d4a9bd (patch)
tree11d08c4beeef187d00c41ed598adeea2a0cfd13b
parent738d9479fa465668c7b9814ac308ccc52b03b493 (diff)
downloadpoky-568b732234b7433c53260e55508a0edd49d4a9bd.tar.gz
documentation/dev-manual/dev-manual-common-tasks.xml: Added external SCM
Added the section "Using an External SCM" to the "Common Tasks" chapter. This information was formerly in the YP Reference Manual in the old development chapter. (From yocto-docs rev: d34cd9e86cb7a6b27cf6a5b4daf58c445dd86331) 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.xml24
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-&lt;PN&gt; = "${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