[yocto] Help with DISTRO settings

Nicolas Dechesne nicolas.dechesne at linaro.org
Mon Jul 25 01:27:18 PDT 2016


On Mon, Jul 25, 2016 at 9:13 AM, Edward Wingate <edwingate8 at gmail.com> wrote:
>> Just conf/distro/mydistro.conf is needed.
>
> Well, it didn't work if it is only in conf/distro/mydistro.conf.  I
> had to have it in conf/layer.conf as well.

hmm. you shouldn't set DISTRO in conf/layer.conf, that doesn't sound
right. DISTRO needs to be set in local.conf (or any of the other build
specific conf files). DISTRO is then used by bitbake.conf file which
does :

include conf/distro/${DISTRO}.conf

this is how your DISTRO config file gets used in the build configuration.



More information about the yocto mailing list