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>
This commit is contained in:
parent
56e0326d42
commit
ee96b1bfd5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue