From ee96b1bfd56ca314d7f8cf9827b95378788f7d91 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 13 Aug 2013 09:47:12 +0300 Subject: 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 --- documentation/ref-manual/technical-details.xml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/technical-details.xml b/documentation/ref-manual/technical-details.xml index 50212b0b47..400bbd6e4e 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 -- cgit v1.2.3-54-g00ecf