summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-10-22 13:50:14 +0100
committerSaul Wold <Saul.Wold@intel.com>2010-10-24 01:02:40 -0700
commitb9d6950732185f6f349e159ce80b1a45715e244c (patch)
tree233e911765c43f506e196b0cdc8712f474acb486
parent95b64df744019770a2b72776d50729e78ae257e5 (diff)
downloadpoky-b9d6950732185f6f349e159ce80b1a45715e244c.tar.gz
documentation/bsp: update to reference FILESEXTRAPATHSlaverne-4.0
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 <josh@linux.intel.com>
-rw-r--r--documentation/poky-ref-manual/bsp.xml8
1 files changed, 4 insertions, 4 deletions
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
284 This allows the BSP layer to poke around and do whatever it might want to customise 284 This allows the BSP layer to poke around and do whatever it might want to customise
285 the original recipe. 285 the original recipe.
286 286
287 .bbappend is expected to include the below two lines in the head (which may be changed 287 If your recipe needs to reference extra files it can use the FILESEXTRAPATH variable
288 in the future): 288 to specify their location. The example below shows extra files contained in a folder
289 called ${PN} (the package name).
289 </para> 290 </para>
290 291
291 <programlisting> 292 <programlisting>
292THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}" 293FILESEXTRAPATHS := "${THISDIR}/${PN}"
293FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
294 </programlisting> 294 </programlisting>
295 295
296 <para> 296 <para>