[yocto] Additional layers with class and conf

Chris Z. winotu.email at gmail.com
Wed Jun 15 12:21:18 PDT 2016


HI,

Have you checked full output of -e bitbake run ? Were INHERIT variable is
resolved ? To check if *.conf file was checked ? Maybe some confs change
INHERIT variables during parsing.

Br,
KZ


On Wed, Jun 15, 2016 at 4:50 PM, Woronicz, Bartosz ( NSN - PL/Wroclaw) <
bartosz.woronicz at nokia.com> wrote:

> I got two layers, meta-x and meta-y , meta-x got meta-y in bblayers.conf.
>  in meta-y contains conf/layer.conf with BBPATH .= ":${LAYERDIR}", plus
> classes/my.bbclass plus local.conf containing INHERIT += "my"
> when I ran bitbake -e my-image, the INHERIT doesn't seem to contain "my"
>
> When I put it directly in layer.conf it works, but what to add to
> layer.conf to make bitbake to look for other *.conf files in meta-y/conf/ ??
>
> My bblayers.conf.sample is modified in meta-x (the project meta), which is
> copied over to $BUILDDIR when i run oe-init-build-env ,
> here is meta-y/conf/layer.conf  :  http://pastebin.com/mhxe9K5C
>
> when I ran
> bitbake -e my-image
> i see
>
> BBPATH="/var/fpwork/mastier/myproject/poky/meta-yocto:/var/fpwork/mastier/myproject/mymachine:/var/fpwork/mastier/myproject/poky/meta:/var/fpwork/mastier/myproject/poky/meta-yocto-bsp:/var/fpwork/mastier/myproject/meta-x:/var/fpwork/mastier/myproject/meta-y"
>
> where "mymachine" is my BUILDDIR
>
> --
> Kind regards,
> Bartosz Woronicz
> Engineer, Software Configuration (SCM)
> Nokia Networks - PL/Wroclaw
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160615/34e1e22a/attachment.html>


More information about the yocto mailing list