]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
ref-manual: updated LIC_FILES_CHKSUM exmaple
authorScott Rifenbark <scott.m.rifenbark@intel.com>
Tue, 13 Aug 2013 06:47:12 +0000 (09:47 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Aug 2013 12:18:58 +0000 (13:18 +0100)
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>
documentation/ref-manual/technical-details.xml

index 50212b0b477045a89410715f0dbcfbab1d41b3c7..400bbd6e4e76366ef5a56bfc19e8a7e58203456c 100644 (file)
 
             <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