diff options
Diffstat (limited to 'documentation/ref-manual/eclipse/html/poky-ref-manual/usingpoky-specifying-LIC_FILES_CHKSUM.html')
-rw-r--r-- | documentation/ref-manual/eclipse/html/poky-ref-manual/usingpoky-specifying-LIC_FILES_CHKSUM.html | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/documentation/ref-manual/eclipse/html/poky-ref-manual/usingpoky-specifying-LIC_FILES_CHKSUM.html b/documentation/ref-manual/eclipse/html/poky-ref-manual/usingpoky-specifying-LIC_FILES_CHKSUM.html new file mode 100644 index 0000000000..b518fce8a1 --- /dev/null +++ b/documentation/ref-manual/eclipse/html/poky-ref-manual/usingpoky-specifying-LIC_FILES_CHKSUM.html | |||
@@ -0,0 +1,57 @@ | |||
1 | <html> | ||
2 | <head> | ||
3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | ||
4 | <title>3.4.1.1. Specifying the LIC_FILES_CHKSUM Variable</title> | ||
5 | <link rel="stylesheet" type="text/css" href="../book.css"> | ||
6 | <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> | ||
7 | <link rel="home" href="index.html" title="The Yocto Project Reference Manual"> | ||
8 | <link rel="up" href="usingpoky-configuring-LIC_FILES_CHKSUM.html" title="3.4.1. Tracking License Changes"> | ||
9 | <link rel="prev" href="usingpoky-configuring-LIC_FILES_CHKSUM.html" title="3.4.1. Tracking License Changes"> | ||
10 | <link rel="next" href="usingpoky-LIC_FILES_CHKSUM-explanation-of-syntax.html" title="3.4.1.2. Explanation of Syntax"> | ||
11 | </head> | ||
12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="3.4.1.1. Specifying the LIC_FILES_CHKSUM Variable"> | ||
13 | <div class="titlepage"><div><div><h4 class="title"> | ||
14 | <a name="usingpoky-specifying-LIC_FILES_CHKSUM"></a>3.4.1.1. Specifying the <code class="filename">LIC_FILES_CHKSUM</code> Variable</h4></div></div></div> | ||
15 | <p> | ||
16 | The <code class="filename">LIC_FILES_CHKSUM</code> | ||
17 | variable contains checksums of the license text in the source code for the recipe. | ||
18 | Following is an example of how to specify <code class="filename">LIC_FILES_CHKSUM</code>: | ||
19 | </p> | ||
20 | <pre class="literallayout"> | ||
21 | LIC_FILES_CHKSUM = "file://COPYING;md5=xxxx \ | ||
22 | file://licfile1.txt;beginline=5;endline=29;md5=yyyy \ | ||
23 | file://licfile2.txt;endline=50;md5=zzzz \ | ||
24 | ..." | ||
25 | </pre> | ||
26 | <p> | ||
27 | </p> | ||
28 | <p> | ||
29 | The build system uses the | ||
30 | <code class="filename"><a class="link" href="ref-variables-glos.html#var-S" title="S">S</a></code> variable as the | ||
31 | default directory used when searching files listed in | ||
32 | <code class="filename">LIC_FILES_CHKSUM</code>. | ||
33 | The previous example employs the default directory. | ||
34 | </p> | ||
35 | <p> | ||
36 | You can also use relative paths as shown in the following example: | ||
37 | </p> | ||
38 | <pre class="literallayout"> | ||
39 | LIC_FILES_CHKSUM = "file://src/ls.c;startline=5;endline=16;\ | ||
40 | md5=bb14ed3c4cda583abc85401304b5cd4e" | ||
41 | LIC_FILES_CHKSUM = "file://../license.html;md5=5c94767cedb5d6987c902ac850ded2c6" | ||
42 | </pre> | ||
43 | <p> | ||
44 | </p> | ||
45 | <p> | ||
46 | In this example, the first line locates a file in | ||
47 | <code class="filename">${S}/src/ls.c</code>. | ||
48 | The second line refers to a file in | ||
49 | <code class="filename"><a class="link" href="ref-variables-glos.html#var-WORKDIR" title="WORKDIR">WORKDIR</a></code>, which is the parent | ||
50 | of <code class="filename"><a class="link" href="ref-variables-glos.html#var-S" title="S">S</a></code>. | ||
51 | </p> | ||
52 | <p> | ||
53 | Note that this variable is mandatory for all recipes, unless the | ||
54 | <code class="filename">LICENSE</code> variable is set to "CLOSED". | ||
55 | </p> | ||
56 | </div></body> | ||
57 | </html> | ||