From c037dd7b4c7d4398aa7524351f33c61a19091e89 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 16 Jan 2015 12:24:21 -0800 Subject: dev-manual: Updates to the "Using .bbappend Files" section. This section was a bit confusing on the use of "_prepend" as associated with the FILESEXTRAPATHS statement. Especially in the final note where it indicated you don't need "_prepend" if your append file is not adding any new files. I updated the note to be more specific. Another small change I made was to replace the Crown Bay BSP referenced in the section with the Emenlow BSP, which has a longer life span than CB. Reported-by: Robert P. J. Day (From yocto-docs rev: 35bdc8031bc4ecf1ea321b0cafade97eeaa56513) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/dev-manual/dev-manual-common-tasks.xml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 1458b18bfd..33b4038834 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -567,8 +567,8 @@ Following is the append file, which is named formfactor_0.0.bbappend and is from the - Crown Bay BSP Layer named - meta-intel/meta-crownbay. + Emenlow BSP Layer named + meta-intel/meta-emenlow. The file is in recipes-bsp/formfactor: FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" @@ -594,7 +594,7 @@ which resolves to a directory named formfactor in the same directory in which the append file resides (i.e. - meta-intel/meta-crownbay/recipes-bsp/formfactor/formfactor. + meta-intel/meta-emenlow/recipes-bsp/formfactor/formfactor. This implies that you must have the supporting directory structure set up that will contain any files or patches you will be including from the layer. @@ -611,16 +611,18 @@ BitBake automatically defines the THISDIR variable. You should never set this variable yourself. - Using "_prepend" ensures your path will - be searched prior to other paths in the final list. + Using "_prepend" as part of the + FILESEXTRAPATHS ensures your path + will be searched prior to other paths in the final + list. Also, not all append files add extra files. Many append files simply exist to add build options (e.g. systemd). - For these cases, it is not necessary to use the - "_prepend" part of the statement. + For these cases, your append file would not even + use the FILESEXTRAPATHS statement. -- cgit v1.2.3-54-g00ecf