diff --git a/documentation/ref-manual/technical-details.xml b/documentation/ref-manual/technical-details.xml index 9bb09fb948..61f55bd80a 100644 --- a/documentation/ref-manual/technical-details.xml +++ b/documentation/ref-manual/technical-details.xml @@ -1445,14 +1445,23 @@ The LIC_FILES_CHKSUM - variable contains checksums of the license text in the source code for the recipe. - Following is an example of how to specify LIC_FILES_CHKSUM: + variable contains checksums of the license text in the source + code for the recipe. + Following is an example of how to specify + LIC_FILES_CHKSUM: LIC_FILES_CHKSUM = "file://COPYING;md5=xxxx \ file://licfile1.txt;beginline=5;endline=29;md5=yyyy \ file://licfile2.txt;endline=50;md5=zzzz \ ..." + + When using "beginline" and "endline", realize that line + numbering begins with one and not zero. + Also, the lines included are inclusive (e.g. lines five + through 29 in the previous example for + licfile1.txt. + @@ -1474,7 +1483,8 @@ The first line locates a file in - ${S}/src/ls.c. + ${S}/src/ls.c and isolates lines five + through 16 as license text. The second line refers to a file in WORKDIR.