[OE-core] require *.bbappend

Joshua Lock josh at linux.intel.com
Mon Dec 19 18:25:29 UTC 2011


On 16/12/11 17:58, Andreas Müller wrote:
> Hi
> 
> I have the following use case:
> 
> In my working layer I would like to have a recipe adding functionality to a 
> recipe from another layer (e.g systemd-image.bb from angstrom) with a different 
> name ( -> no bbappend ). How about
> 
> * create systemd-image.bbapend with just 'FILESEXTRAPATHS := "${THISDIR}"' to 
> get it into the scope of my layer
> * create a recipe  which contains 'require systemd-image.bbappend'
> 
> Currently parser complains that systemd-image.bbappend is not a BitBake file. 

I think this should work and the issue you're seeing is that require
wants a relative PATH from BBPATH.

i.e. require recipes-images/angstrom/systemd-image.bb

Cheers,
Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre




More information about the Openembedded-core mailing list