[yocto] Weird FILESPATH issue

Paul Eggleton paul.eggleton at linux.intel.com
Fri Apr 5 10:31:47 PDT 2013


On Friday 05 April 2013 11:04:15 Gary Thomas wrote:
> On 2013-04-05 06:53, Gary Thomas wrote:
> > I think the problem is because the main recipe contains this line:
> >    FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files"
> > 
> > How can I write my .bbappend file to pick up the patch from my [local]
> > layer?
> > 
> > Thanks
> > 
> > n.b. isn't that 'FILESPATH' line in the main recipe rather unfriendly?
> 
> What I don't get is that I've done this exact same style of .bbappend for
> other recipes and it works fine.  For example, I have this
> 
>    ${LAYER}/recipes-sato/gtk-engines/gtk-sato-engine_git.bbappend:
>         FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>         SRC_URI_append = " file://adjust-sato-theme.patch "
>         PACKAGE_ARCH = "${MACHINE_ARCH}"
> 
> This .bbappend file works perfectly :-(

The FILESPATH line you referred to is very old and probably no longer 
necessary. Try dropping it and see if everything works.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list