summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-08-13 09:47:12 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-13 13:18:58 +0100
commitee96b1bfd56ca314d7f8cf9827b95378788f7d91 (patch)
treed644cf6e3a592ec0894faf619865d68eedbd4110 /documentation
parent56e0326d42468bfaba640fa1d63664c5fd983639 (diff)
downloadast2050-yocto-poky-ee96b1bfd56ca314d7f8cf9827b95378788f7d91.zip
ast2050-yocto-poky-ee96b1bfd56ca314d7f8cf9827b95378788f7d91.tar.gz
ref-manual: updated LIC_FILES_CHKSUM exmaple
Fixes [YOCTO #4975] Changes made to be sure that we are not assuming WORKDIR is a child of the 'S' directory. (From yocto-docs rev: c47b65c008ee45873e3bf61c7aaea18ca9744007) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/technical-details.xml13
1 files changed, 6 insertions, 7 deletions
diff --git a/documentation/ref-manual/technical-details.xml b/documentation/ref-manual/technical-details.xml
index 50212b0..400bbd6 100644
--- a/documentation/ref-manual/technical-details.xml
+++ b/documentation/ref-manual/technical-details.xml
@@ -1848,27 +1848,26 @@
<para>
The build system uses the
- <filename><link linkend='var-S'>S</link></filename> variable as the
- default directory used when searching files listed in
+ <filename><link linkend='var-S'>S</link></filename> variable as
+ the default directory used when searching files listed in
<filename>LIC_FILES_CHKSUM</filename>.
The previous example employs the default directory.
</para>
<para>
- You can also use relative paths as shown in the following example:
+ Consider this next example:
<literallayout class='monospaced'>
LIC_FILES_CHKSUM = "file://src/ls.c;beginline=5;endline=16;\
md5=bb14ed3c4cda583abc85401304b5cd4e"
- LIC_FILES_CHKSUM = "file://../license.html;md5=5c94767cedb5d6987c902ac850ded2c6"
+ LIC_FILES_CHKSUM = "file://${WORKDIR}/license.html;md5=5c94767cedb5d6987c902ac850ded2c6"
</literallayout>
</para>
<para>
- In this example, the first line locates a file in
+ The first line locates a file in
<filename>${S}/src/ls.c</filename>.
The second line refers to a file in
- <filename><link linkend='var-WORKDIR'>WORKDIR</link></filename>, which is the parent
- of <filename><link linkend='var-S'>S</link></filename>.
+ <filename><link linkend='var-WORKDIR'>WORKDIR</link></filename>.
</para>
<para>
Note that <filename>LIC_FILES_CHKSUM</filename> variable is
OpenPOWER on IntegriCloud