summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-02-15 10:30:19 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-03 17:40:19 +0000
commit41265570c618d4017b0ed0d883142651e7325deb (patch)
treefd1c39475fa44de8967f36577be0854ada2a8a3d /documentation
parent5ca77b2fc6045ed15d9ce88feadca43fb163c79d (diff)
downloadpoky-41265570c618d4017b0ed0d883142651e7325deb.tar.gz
ref-manual: Updated the S variable description.
Fixes [YOCTO #8542] I updated the description with a new example specific to Git. When you use Git, you have to specifically set the S directory for things to work. (From yocto-docs rev: e31f6ba125c4e173832793c14c931c8298ba3510) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-variables.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 3d68dd6ac2..f5249416b9 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -10626,6 +10626,17 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
10626 poky/build/tmp/work/qemux86-poky-linux/db/5.1.19-r3/db-5.1.19 10626 poky/build/tmp/work/qemux86-poky-linux/db/5.1.19-r3/db-5.1.19
10627 </literallayout> 10627 </literallayout>
10628 </para> 10628 </para>
10629
10630 <para>
10631 This next example assumes Git, which means the default
10632 directory is <filename>${WORKDIR}/git</filename>.
10633 Consequently, you must explicitly set
10634 <filename>S</filename> so the source can be located:
10635 <literallayout class='monospaced'>
10636 SRC_URI = "git://path/to/repo.git"
10637 S = "${WORKDIR}/git"
10638 </literallayout>
10639 </para>
10629 </glossdef> 10640 </glossdef>
10630 </glossentry> 10641 </glossentry>
10631 10642