From 273e05bb0db2d3723429e47523deee1c8b302471 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 4 Apr 2012 14:56:57 -0600 Subject: documentation/bsp-guide/bsp.xml: Added new section Fixes [YOCTO #1962] Added a new section called "Customizing a Recipe for a BSP". The text was rooted in Darren Hart's comments. I implemented them and then we iterated a bit on it. Reported-by: Joshua Lock (From yocto-docs rev: f5e51d60312d9335a790023f193cae1ba76277ae) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/bsp-guide/bsp.xml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml index 14a7197f34..d15abe027d 100644 --- a/documentation/bsp-guide/bsp.xml +++ b/documentation/bsp-guide/bsp.xml @@ -638,6 +638,42 @@ +
+ Customizing a Recipe for a BSP + + + If you plan on customizing a recipe for a particular BSP, you need to do the + following: + + Include within the BSP layer a .bbappend + file for the modified recipe. + Place the BSP-specific file in the BSP's recipe + .bbappend file path under a directory named + after the machine. + + + + + To better understand this, consider an example that customizes a recipe by adding + a BSP-specific configuration file named interfaces to the + netbase_4.47.bb recipe for machine "xyz". + Do the following: + + Edit the netbase_4.47.bbappend file so that it + contains the following: + + FILESEXTRAPATHS_prepend := "${THISDIR}/files:" + PRINC := "${@int(PRINC) + 2}" + + Create and place the new interfaces + configuration file in the BSP's layer here: + + meta-xyz/recipes-core/netbase/files/xyz/interfaces + + + +
+
BSP Licensing Considerations -- cgit v1.2.3-54-g00ecf