diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-02-15 10:30:19 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-03 17:40:11 +0000 |
commit | b9dddd511e642a0dc465841065b0748b5dccd3c6 (patch) | |
tree | ea932ef9160dba714b02eb8ff57c88b0a6c78cdd /documentation | |
parent | 41e9f7cdac0998b4606007210480ec89874e596f (diff) | |
download | poky-b9dddd511e642a0dc465841065b0748b5dccd3c6.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: 10d71ccda461098fd8c94677d91fd261f6edf508)
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.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 53bc544b5b..1445f16369 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -10548,6 +10548,17 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
10548 | The unpacked source code resides in the | 10548 | The unpacked source code resides in the |
10549 | <filename>db-5.1.19</filename> folder. | 10549 | <filename>db-5.1.19</filename> folder. |
10550 | </para> | 10550 | </para> |
10551 | |||
10552 | <para> | ||
10553 | This next example assumes Git, which means the default | ||
10554 | directory is <filename>${WORKDIR}/git</filename>. | ||
10555 | Consequently, you must explicitly set | ||
10556 | <filename>S</filename> so the source can be located: | ||
10557 | <literallayout class='monospaced'> | ||
10558 | SRC_URI = "git://path/to/repo.git" | ||
10559 | S = "${WORKDIR}/git" | ||
10560 | </literallayout> | ||
10561 | </para> | ||
10551 | </glossdef> | 10562 | </glossdef> |
10552 | </glossentry> | 10563 | </glossentry> |
10553 | 10564 | ||