From: Joshua Lock Date: Fri, 22 Oct 2010 12:50:14 +0000 (+0100) Subject: documentation/bsp: update to reference FILESEXTRAPATHS X-Git-Tag: 2011-1~4190 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=eef1d813b7248ba40eb958f4052dbe4d52b93591;p=openembedded-core.git documentation/bsp: update to reference FILESEXTRAPATHS It's no longer neccesarry to define THISDIR and FILESPATH in each bbappend recipe. Should you need to reference extra files you should use FILESEXTRAPATHS Signed-off-by: Joshua Lock --- diff --git a/documentation/poky-ref-manual/bsp.xml b/documentation/poky-ref-manual/bsp.xml index 9982f9e739..acb9f38e19 100644 --- a/documentation/poky-ref-manual/bsp.xml +++ b/documentation/poky-ref-manual/bsp.xml @@ -284,13 +284,13 @@ meta-bsp/packages/image-creator/image-creator-native_0.1.bb This allows the BSP layer to poke around and do whatever it might want to customise the original recipe. - .bbappend is expected to include the below two lines in the head (which may be changed - in the future): + If your recipe needs to reference extra files it can use the FILESEXTRAPATH variable + to specify their location. The example below shows extra files contained in a folder + called ${PN} (the package name). -THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" -FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:" +FILESEXTRAPATHS := "${THISDIR}/${PN}"