[yocto] Using a poky recipe's files in a custom recipe

Colin Helliwell colin.helliwell at ln-systems.com
Fri Dec 15 06:46:51 PST 2017


> On 15 December 2017 at 14:35 Philip Balister wrote:
> 
> 
> On 12/15/2017 08:36 AM, colin.helliwell at ln-systems.com wrote:
> > The current Poky I'm using (krogoth) has a recipe for dropbear, but I want
> > to upgrade to use the latest version of dropbear.
> > For source control reasons, I don't want to modify what's in
> > meta/recipes-core/dropbear and therefore want to have my own recipe in my
> > own layer. Yet for cleanliness I'd also prefer not to have to replicate all
> > its .inc file etc in my own layer.
> > Is there a clean way to be able to include meta's files within my own
> > recipe? Is it a case of some sort of FILESEXTRAPATHS entry, and what would
> > be the best way to cross reference to the poky layer?
> 
> I'm thinking if you
> 
> require recipes-core/dropbear/dropbear.inc
> 
> it uses BBPATH to search for the inc file, so it will pick up the one in
> meta.
> 

Excellent. Many thanks, Philip - that's got it.



More information about the yocto mailing list