[yocto] dynamic-layers?
Gary Thomas
gary at mlbassoc.com
Wed May 24 07:19:15 PDT 2017
On 2017-05-24 12:30, Takashi Matsuzawa wrote:
> Hello, Yocto.
> I am a bit confused with dynamic-layers included in some of the recent layers in various BSPs.
>
> e.g.
>
> https://github.com/Freescale/meta-freescale/blob/master/conf/layer.conf
>
> ># The .bbappend and .bb files are included if the respective layer
> ># collection is available.
> >BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bbappend' % layer \
> > for layer in BBFILE_COLLECTIONS.split())}"
> >BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bb' % layer \
> > for layer in BBFILE_COLLECTIONS.split())}"
>
> In meta-freescale/dynamic-layers, there are browser-layer, efi-layer, etc. for conditional inclusion.
> And I think they are included only their names (browser-layer, etc.) are BBFILE_COLLECIONS.
>
> Question here is, who will be adding 'browser-layer' to BBFILE_COLLECTIONS when I want to include browser-layer in my build.
>
> Is it something to be done in my local.conf or customized distro conf file?
No, it's in <layer>/conf/layer.conf for the <layer> in question.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the yocto
mailing list