[yocto] yocto layer dependencies

Leonardo Sandoval leonardo.sandoval.gonzalez at linux.intel.com
Mon Sep 11 08:22:59 PDT 2017


ktreddy 70 <ktreddy70 at gmail.com> writes:

> I am trying to set up yocto build environment for openlte, meta-sdr
> has most of the openlte depends
> I am getting following error when I try to build sdr, 
>
>
> /build$ bitbake sdr
> Loading cache: 100% |################################################
> #####################################################################
> #######################| Time: 0:00:00
> Loaded 1642 entries from dependency cache.
> ERROR: ParseError at /home/ktreddy/zcu102/sources/poky/../
> meta-openembedded/meta-sdr/recipes-applications/gqrx/gqrx_git.bb:8:
> Could not inherit file classes/qt4x11.bbclass
>
>
> I do have meta-qt4 under meta-openembedded layer  as below.

at bblayers.conf, does BBLAYERS include the above full path of
meta-openembedded/meta-qt4? also, try placing the meta-qt4 at the same
level of meta-openembeded, because these are two independent
repositories (and if you run git clean -fd at meta-openmebeded, you do
not remove meta-qt4 by mistake :) )


>
> zcu102/sources$ ls meta-openembedded/meta-qt4/classes/
> qmake2.bbclass  qmake_base.bbclass  qt4e.bbclass  qt4x11.bbclass
>
>
> could you please help me on why am I getting this error ?
> How can I make one layer visible to another layer ?

Though BBLAYERS. Include any layer you want and depending on the
priority, bitbake will deal with the corresponding metadata (bbappends, etc.)

> Ex:  How can I make meta-sdr visible to openlte ? I mean how can I
> say to openlte that the dependency recipes are available under
> meta-sdr ?
>
> if new recipes are available for a layer how can I get those on to my
> build environment ?

basically the latter answer applies to this one.


>
> Thanks for your help.
>
> [no_pho] Click here to Reply or For



More information about the yocto mailing list