From b9dddd511e642a0dc465841065b0748b5dccd3c6 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 15 Feb 2016 10:30:19 -0800 Subject: [PATCH] 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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" The unpacked source code resides in the db-5.1.19 folder. + + + This next example assumes Git, which means the default + directory is ${WORKDIR}/git. + Consequently, you must explicitly set + S so the source can be located: + + SRC_URI = "git://path/to/repo.git" + S = "${WORKDIR}/git" + +