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