From: Scott Rifenbark Date: Tue, 13 Aug 2013 06:47:12 +0000 (+0300) Subject: ref-manual: updated LIC_FILES_CHKSUM exmaple X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ee96b1bfd56ca314d7f8cf9827b95378788f7d91;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/documentation/ref-manual/technical-details.xml b/documentation/ref-manual/technical-details.xml index 50212b0b477..400bbd6e4e7 100644 --- a/documentation/ref-manual/technical-details.xml +++ b/documentation/ref-manual/technical-details.xml @@ -1848,27 +1848,26 @@ The build system uses the - S variable as the - default directory used when searching files listed in + S variable as + the default directory used when searching files listed in LIC_FILES_CHKSUM. The previous example employs the default directory. - You can also use relative paths as shown in the following example: + Consider this next example: 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" - In this example, the first line locates a file in + The first line locates a file in ${S}/src/ls.c. The second line refers to a file in - WORKDIR, which is the parent - of S. + WORKDIR. Note that LIC_FILES_CHKSUM variable is