[yocto] Keeping and modifying Source code in Yocto

Marcelo E. Magallon marcelo.magallon at hpe.com
Mon Jul 9 05:43:10 PDT 2018


On Fri, Jul 06, 2018 at 09:11:35PM +0200, Ulf Samuelsson wrote:

>In my current project we have a simplified version in a 
>”component.bbclass”. It relies on a variable COMPONENT_DIR 
>defined in our local.conf.
>
>A recipe located in ”recipe-xxxx/<package>/<package>_$PV.bb” doing
>
>inherit component
>
>will find its source code in $COMPONENT_DIR/<package>, making 
>the recipe simpler than that of the externalsrc bbclass. No need 
>for SRC_URI statements.

You mean you set S to $COMPONENT_DIR/<package>?

If there's no SRC_URI, does fetch run? If not, how does it detect 
that the source code changed?

Marcelo


More information about the yocto mailing list