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_5.0.bb
recipe for machine "xyz".
Do the following:
Edit the netbase_5.0.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