diff --git a/documentation/ref-manual/ref-devtool-reference.xml b/documentation/ref-manual/ref-devtool-reference.xml
index b7c0e334ea..a577d1a457 100644
--- a/documentation/ref-manual/ref-devtool-reference.xml
+++ b/documentation/ref-manual/ref-devtool-reference.xml
@@ -208,9 +208,9 @@
The following example creates and adds a new recipe named
jackson to a workspace layer the tool creates.
The source code built by the recipes resides in
- /home/scottrif/sources/jackson:
+ /home/user/sources/jackson:
- $ devtool add jackson /home/scottrif/sources/jackson
+ $ devtool add jackson /home/user/sources/jackson
@@ -228,18 +228,52 @@
append files, and source files into the existing workspace layer.
The .bbappend file is created to point
to the external source tree.
+
+ If your recipe has runtime dependencies defined, you must be sure
+ that these packages exist on the target hardware before attempting
+ to run your application.
+ If dependent packages (e.g. libraries) do not exist on the target,
+ your application, when run, will fail to find those functions.
+ For more information, see the
+ "Deploying Your Software on the Target Machine"
+ section.
+
-
- If your recipe has runtime dependencies defined, you must be sure
- that these packages exist on the target hardware before attempting
- to run your application.
- If dependent packages (e.g. libraries) do not exist on the target,
- your application, when run, will fail to find those functions.
- For more information, see the
- "Deploying Your Software on the Target Machine"
- section.
-
+
+ By default, devtool add uses the latest
+ revision (i.e. master) when unpacking files from a remote URI.
+ In some cases, you might want to specify a source revision by
+ branch, tag, or commit hash. You can specify these options when
+ using the devtool add command:
+
+
+ To specify a source branch, use the
+ --srcbranch option:
+
+ $ devtool add --srcbranch &DISTRO_NAME_NO_CAP; jackson /home/user/sources/jackson
+
+ In the previous example, you are checking out the
+ &DISTRO_NAME_NO_CAP; branch.
+
+
+ To specify a specific tag or commit hash, use the
+ --srcrev option:
+
+ $ devtool add --srcrev &DISTRO_REL_TAG; jackson /home/user/sources/jackson
+ $ devtool add --srcrev some_commit_hash /home/user/sources/jackson
+
+ The previous examples check out the &DISTRO_REL_TAG; tag
+ and the commit associated with the
+ some_commit_hash hash.
+
+
+
+ If you prefer to use the latest revision every time the recipe is
+ built, use the options --autorev
+ or -a.
+
+