From: Scott Rifenbark Date: Fri, 13 Jul 2012 20:52:36 +0000 (-0700) Subject: documentation/dev-manual/dev-manual-common-tasks.xml: Added external SCM X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=568b732234b7433c53260e55508a0edd49d4a9bd;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 6d274361d89..d24838a54b8 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -1681,6 +1681,30 @@ +
+ Using an External SCM + + + If you're working on a recipe that pulls from an external Source Code Manager (SCM), it + is possible to have the OpenEmbedded build system notice new changes added to the + SCM and then build the package that depends on them using the latest version. + This only works for SCMs from which it is possible to get a sensible revision number for changes. + Currently, you can do this with Apache Subversion (SVN), Git, and Bazaar (BZR) repositories. + + + + To enable this behavior, simply add the following to the local.conf + configuration file found in the + build directory: + + SRCREV_pn-<PN> = "${AUTOREV}" + + where PN + is the name of the package for which you want to enable automatic source + revision updating. + +
+
Debugging With the GNU Project Debugger (GDB) Remotely