1.4. Customizing a Recipe for a BSP

If you plan on customizing a recipe for a particular BSP, you need to do the following:

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:

  1. Edit the netbase_5.0.bbappend file so that it contains the following:

         FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
         PRINC := "${@int(PRINC) + 2}"
                           
  2. Create and place the new interfaces configuration file in the BSP's layer here:

         meta-xyz/recipes-core/netbase/files/xyz/interfaces