@@ -13,9 +13,17 @@ Subversion (SVN) and Git.
To enable this behavior, the :term:`PV` of
the recipe needs to include a ``+`` sign in its assignment.
-Here is an example::
+You can do this in one of two ways:
- PV = "1.2.3+git"
+- Manually assign a version number and the string "+git"
+ in the recipe::
+
+ PV = "1.2.3+git"
+
+- A more elegant way is to simply append the "+git" string to the
+ value of :term:`PV` already extracted from the recipe file name::
+
+ PV .= "+git"
:term:`Bitbake` later includes the source control information in :term:`PKGV`
during the packaging phase.
In addition to hard-coding a PV value in the context of an external SCM, show also the alternative of simply appending the string "+git" to the value already calculated for PV from the recipe file name. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> ---