summaryrefslogtreecommitdiffstats
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
parent56e0326d42468bfaba640fa1d63664c5fd983639 (diff)
downloadpoky-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>
-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 50212b0b47..400bbd6e4e 100644
--- a/documentation/ref-manual/technical-details.xml
+++ b/documentation/ref-manual/technical-details.xml
@@ -1848,27 +1848,26 @@
1848 1848
1849 <para> 1849 <para>
1850 The build system uses the 1850 The build system uses the
1851 <filename><link linkend='var-S'>S</link></filename> variable as the 1851 <filename><link linkend='var-S'>S</link></filename> variable as
1852 default directory used when searching files listed in 1852 the default directory used when searching files listed in
1853 <filename>LIC_FILES_CHKSUM</filename>. 1853 <filename>LIC_FILES_CHKSUM</filename>.
1854 The previous example employs the default directory. 1854 The previous example employs the default directory.
1855 </para> 1855 </para>
1856 1856
1857 <para> 1857 <para>
1858 You can also use relative paths as shown in the following example: 1858 Consider this next example:
1859 <literallayout class='monospaced'> 1859 <literallayout class='monospaced'>
1860 LIC_FILES_CHKSUM = "file://src/ls.c;beginline=5;endline=16;\ 1860 LIC_FILES_CHKSUM = "file://src/ls.c;beginline=5;endline=16;\
1861 md5=bb14ed3c4cda583abc85401304b5cd4e" 1861 md5=bb14ed3c4cda583abc85401304b5cd4e"
1862 LIC_FILES_CHKSUM = "file://../license.html;md5=5c94767cedb5d6987c902ac850ded2c6" 1862 LIC_FILES_CHKSUM = "file://${WORKDIR}/license.html;md5=5c94767cedb5d6987c902ac850ded2c6"
1863 </literallayout> 1863 </literallayout>
1864 </para> 1864 </para>
1865 1865
1866 <para> 1866 <para>
1867 In this example, the first line locates a file in 1867 The first line locates a file in
1868 <filename>${S}/src/ls.c</filename>. 1868 <filename>${S}/src/ls.c</filename>.
1869 The second line refers to a file in 1869 The second line refers to a file in
1870 <filename><link linkend='var-WORKDIR'>WORKDIR</link></filename>, which is the parent 1870 <filename><link linkend='var-WORKDIR'>WORKDIR</link></filename>.
1871 of <filename><link linkend='var-S'>S</link></filename>.
1872 </para> 1871 </para>
1873 <para> 1872 <para>
1874 Note that <filename>LIC_FILES_CHKSUM</filename> variable is 1873 Note that <filename>LIC_FILES_CHKSUM</filename> variable is